Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 930 Bytes

README.md

File metadata and controls

56 lines (36 loc) · 930 Bytes

TicTacToe - F#

An unbeatable Tic Tac Toe game written in F#

Setup

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

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

Play the game

$ mono ./build/TicTacToe.exe

Tests

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