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: Nim โ€‹

Template link: https://legacy.smartpy.io/ide?template=state_channel_games/models/nim.py

Description โ€‹

Nim game

Outcomes โ€‹

NameDescription
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 โ€‹