0.1.0 • Published 7 years ago
game-plus v0.1.0
Game Plus
API
- Create a
Statetype. - Create a
Movetype, which is transitions betweenStates. - Implement the
Gameinterface, which list moves, performs moves, and scores the games.
You can now do several things with the modeled game, such as play it with Minimax.
Examples
Play Tic-Tac-Toe against an AI.
yarn run play ttt --player2 ai