Tic Tac Toe in Haskell
Get the Haskell Platform
Probably the best way on a mac is to use Homebrew:
brew install haskell-platform
To be able to run the tests, you need to install HSpec:
cabal update
cabal install hspec
On Unix, type:
runghc Main.hs
If you want it as a standalone executable, you can type:
ghc Main.hs -o tic
The executable will be named tic