Skip to content

Networking class assignment, basic Tic-Tac-Toe server/client. Implemented in haskell.

License

Notifications You must be signed in to change notification settings

masonwr/Haskell-ttt-networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell Tic-tac-toe server/client

Networking class assignment, basic Tic-tac-toe server client. Implemented in haskell.

assuming that stack is installed...

> git clone https://github.com/masonwr/Haskell-ttt-networking.git
> cd Haskell-ttt-networking
> make

this installs the following two binary's: ttt-client and ttt-server.

To run the server sudo ttt-server (the server runs on port 707).

To run the client ttt-client [ip of host], sit back and marvel at the game unfolding before your eyes (if no host is specified, localhost is assumed).

The game logic (Minimax) is adapted from Gram Hutton's excellent Programming in Haskell book (highly recommended).

About

Networking class assignment, basic Tic-Tac-Toe server/client. Implemented in haskell.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published