/
tic tac toe ruleset
tic tac toe ruleset
The tic-tac-toe ruleset is an implementation of a DIDComm protocol called Tic Tac Toe Protocol 1.0.
- 1 Implementing a protocol
- 2 Functions
- 2.1 getGames()
- 2.2 generate_tictactoe_move(id, thid, sender_order, me, moves, comment)
- 2.3 generate_tictactoe_outcome(thid, seqnum, winner, comment)
- 2.4 generate_problem_report(id, message)
- 2.5 send_move(id, move, me, comment)
- 2.6 start_game(did, move, me, comment)
- 2.7 receive_move(message, did)
- 2.8 send_problem_report(id, problem)
- 3 Rules
- 3.1 initialize
- 3.2 start_game
- 3.3 send_move
- 3.4 receive_move
- 3.5