Package tictactoe defines the game of tic-tac-toe.
Switch branches/tags
Nothing to show
Clone or download
dmitshur player/perfect: Add package.
Implement a perfect tic-tac-toe player. It always wins if the opponent
makes a suboptimal move that opens up an opportunity to guarantee a win.
It never loses.
2
Latest commit 5e45e74 May 1, 2018

README.md

tictactoe

Build Status GoDoc

Package tictactoe defines the game of tic-tac-toe.

Installation

go get -u github.com/shurcooL/tictactoe

Directories

Path Synopsis
cmd/tictactoe tictactoe plays a game of tic-tac-toe with two players.
player/bad Package bad contains a bad tic-tac-toe player.
player/human Package human contains a human-controlled tic-tac-toe player.
player/perfect Package perfect implements a perfect tic-tac-toe player.
player/random Package random implements a random player of tic-tac-toe.

License