Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 511 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 511 Bytes

tic-tac-toe.hs

Tic Tac Toe in Haskell

Install

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

Running

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