Divi Games

Build a game

Quiz

You need to log in to submit.

Pick the right answer for each question (tick all that apply where boxes are shown). Pass mark 80%.

1. Which method of GameModule applies a player's op?
2. What happens to a transaction's writes when `apply` returns Err?
3. Why must apply be deterministic?
4. How does tic-tac-toe get a game id?
5. Where does tic-tac-toe hold the stakes while a game is running?
6. What is the largest stake tic-tac-toe accepts?
7. How is the 150-block move timeout measured?
8. Which error fits a player moving when it is not their turn?
9. Your module's `ctx.put("game/ab", ...)` is stored under which key?
10. What is needed to make a new game known to the node?