Random Numbers
Creating a truly random number is really tough. On blockchain...even tougher.
Typically, on-chain applications can make use of an oracle which will allow on-chain resources to access off-chain data.
Due to the speed of this game, executing a VRF like Chainlink will take far too long to produce random number with enough speed for an enjoyable game. Instead, ChopChop uses a method for RNG (random number generator) called "commit-reveal".
Last updated