cabal is required to install.
$ git clone https://github.com/thecodesome/Haskell-Chess.git
$ cd Haskell-Chess/
$ sudo make install
- GLUT
- OpenGL
- network
- split
haskell-chess {myport} {host} {port} {color}
Where
myport: port where you want to start the game server.host: Opponent host id to connect to.port: Port where the opponent has startedhaskell-chessservercolor:whiteorblack(You are required to mutually decide with the opponent and select the color. Anything other thanwhitewill be considered as black)
$ haskell-chess 3000 127.0.0.1 8000 white
Starting server at port 3000 ...
Press [Enter] when other player is ready
Note: The chat server for the game will be started at port
{myport}+1. Hence make sure that{myport}and{myport}+1are not in use before starting the game.
$ sudo make uninstall