DanBranDaMan
27610
34
2
I 3D printed the box/dice, used an arduino nano and built/coded everything myself. No more dice flying off the table or hitting board pieces.
Jul 22, 2020 9:51 PM
DanBranDaMan
27610
34
2
I 3D printed the box/dice, used an arduino nano and built/coded everything myself. No more dice flying off the table or hitting board pieces.
MikeMcRoberts
Nice. Is your code available to view anywhere?
DuckyDuck3
Would you be willing to share the code?
b14d3r11
I want this, but I need like 36d6 and a totaller at the bottom XD
salikarn
That's pretty awesome
DanBranDaMan
Thanks!
bigblindguy
Now you can weight your dice without having to use a file, brilliant.
DanBranDaMan
Yup, lol. Even "random" code isn't truly random. But that plus the random hold time make it random enough
KnowGoYesStopWin
I’ve imported random in to many a projects. How is it not truly random 1-6?
DanBranDaMan
It has to do with the way the code physically works in the microprocessor. It appears random, but there is a pattern. But that's more a 1/2
DanBranDaMan
Computer science thing. I'm going to electrical engineering.
NekoMiko06
It's pseudorandom, it's derived deterministically from an algorithm and a seed, and is only as "truly random" as the latter.
NekoMiko06
A random number is hard to define, but an unpredictable number is one whose shortest representation is itself. Counterexample:1,048,576=2^20
NekoMiko06
So thus, if you can guess the seed, you have a pseudorandom number. A cryptographically secure pseudorandom number generator (CSPRNG)