CrissCross is a super-simple, addictive game where you transfer dice numbers to a grid. The goal is to group identical numbers to score more points. It's easy to learn, like Sudoku, and perfect for solo play. Carefully plan each move to maximize your score and fill the grid!
Prize Pool
Criss Cross integrates with Stackr to store proofs of gameplay. By using Stackr, we ensure that each move in the game is securely logged and verified, making the gameplay transparent, tamper-proof, and auditable. This setup is particularly useful for ensuring fairness and trust in multiplayer games or any application where verifiable actions are crucial.
State Machine on Stackr:
Storing Moves:
move()
(as seen in your code), logs this move into Stackr. This logging process could involve creating a transaction or a record on Stackr that includes all the move details.Proof of Gameplay:
Advantages:
Example Flow
Game Initialization: When the game is initialized (/init-game
endpoint), the initial state of the game is set up and possibly recorded on Stackr as the starting point.
Player Move: Each time a player makes a move (/move
endpoint), the move is logged onto Stackr, transitioning the game to the next state.
State Transition: The state machine on Stackr ensures that each move adheres to the game's rules. For instance, it checks if the move is valid.
Verification and Continuation: After the move is recorded and the state is updated on Stackr, the game continues. Players can view the history of moves, and at the end of the game, the final state is recorded as well.
To achieve this we used the following technical components :