An unbeatable Tic Tac Toe game written in F#
First, install Mono.
$ brew install mono
Then, download and build the project.
$ git clone [email protected]:damonkelley/tictactoe-fsharp.git
$ cd tictactoe-fsharp
$ ./build.sh
Fake is the build tool used for the project. All targets are defined in build.fsx
. The build.sh
script is a helper that will invoke Fake.
Invoking the script with no arguments will execute the default target which will compile and test the project.
$ ./build.sh
$ mono ./build/TicTacToe.exe
Run the unit tests.
$ ./build.sh Test
Run the integrations tests. This will run two tests that test the computer strategy. These take approximately 2 minutes to complete.
$ ./build.sh LongTests
Run the unit tests and the long tests.
$ ./build.sh AllTests