Skip to content

codesome/Haskell-Chess

Repository files navigation

Haskell Chess

Install

cabal is required to install.

$ git clone https://github.com/thecodesome/Haskell-Chess.git
$ cd Haskell-Chess/
$ sudo make install

Library dependencies (taken care in install)

  • GLUT
  • OpenGL
  • network
  • split

Start

Command structure

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 started haskell-chess server
  • color: white or black (You are required to mutually decide with the opponent and select the color. Anything other than white will 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}+1 are not in use before starting the game.

Docs

Uninstall

$ sudo make uninstall

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published