network game framework
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Dominion move bots into Dominion.Bots. Dec 18, 2009
HTTP make it possible to play multiple games in sequence. Dec 18, 2009
TCP add a simple HTTP/javascript chat server Dec 7, 2009
YAML Merge with shicks. Nov 29, 2009
.test don't optimize when running test build. Nov 30, 2009
Dominion.hs move bots into Dominion.Bots. Dec 18, 2009
NamePicker.hs simplify wire protocol of NamePicker. Dec 2, 2009
YAML.hs Merge with shicks. Nov 29, 2009
httpd.hs add dominionHandler which starts game (but doesn't allow it to be pla… Dec 15, 2009
testyaml.hs Merge less stupidly?? Nov 29, 2009
yamltest.hs fancier laziness test. Oct 24, 2009


To compile hsgame, you'll need a recent version of franchise and ghc. You can compile with

./Setup.hs build

This builds a large number of test executables. You can try running a very simple chat server by running either ./named-chat or ./chat. You can then connect to the server with a client by running ./named-chat localhost or ./chat localhost. Of course, you can also connect from another computer, in which case you should specify the name or IP address of your server in place of localhost.

We're working on an Javascript framework, built around a custom HTTP server, which you can run with ./httpd to start a server at