Closed denzhe22 closed 4 months ago
Hi @denzhe22, thanks for stopping by 😄
In Stake's official implementation, they uses a server to generate a random seed (i.e. a random number) which decides the initial position of the ball.
However, my implementation doesn't use any server to keep it simple. Hence, I use this code to randomly generate the initial position. Here's a visualization of the code:
I found that the server of stake will control the initial position of the ball, and whether the landing point is left or right each time. How should this be implemented?