Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.2 KB

Solve-You-A-Game

CircleCI

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.

Instructions to install

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

The Documentation

To generate the documentation run following command

stack haddock
The documentation will be generated at ./.stack-work/install/X86-64*/lts-/8./doc