This example models a chess game between two players. It's similar in spirit to the tic tac toe examples, but demonstrates more complex rule data.
- A player invites another player by creating a
GameProposal
. - Upon acceptance of the invite a
Game
contract is created. - The players take turns through the
Move
choice until aResult
is returned.
To compile the project:
daml build
To test all scripts:
daml test --color
To load the project into the sandbox and start navigator:
daml start
- No automatic check / checkmate detection