A framework for Solving Zero Sum Games with Perfect Information
To use the framework user has to define a instance of class Game as
defined in Solver.hs and implementation has to be provided to the functions
defined there. Also to play the geme the game should be an instance of solvable
game defined in GamePlay.hs to support functions like showGame and printMoves.
some games are provided like TicTacToe, Chomp and Two other.
clone the repository:
git clone "https://github.com/IITH-SBJoshi/haskell-7-1/"
Install Stack for haskell from here
"https://docs.haskellstack.org/en/stable/README/#how-to-install"
To Build the project
stack build
To Run the executable created
stack exec Solve-You-A-Game-exe
Install using
stack install
To generate the documentation run following command
stack haddock The documentation will be generated at ./.stack-work/install/X86-64*/lts-/8./doc