Skip to content
On this page

import Entrypoint from '@site/src/components/MichelsonDoc/Entrypoint'; import Michelson from '@site/src/components/MichelsonDoc/Michelson'; import MichelsonArg from '@site/src/components/MichelsonDoc/MichelsonArg'; import MichelsonArgs from '@site/src/components/MichelsonDoc/MichelsonArgs';

Model: Tic-tac-toe โ€‹

Template link:

Description โ€‹

Tic-tac-toe is a simple game (see rules on wikipedia:tic-tac-toe.

It is run on a 3 by 3 grid.

tic tac toe grid

Outcomes โ€‹

player_1_wonPlayer 1 won the game
player_2_wonPlayer 2 won the game
drawThe game ended without winner

Initial inputs โ€‹

Move Data โ€‹

Game state โ€‹