network game framework
Haskell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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
htdocs Add support for bots to HTTP game. Dec 18, 2009
.gitignore add a simple HTTP/javascript chat server Dec 7, 2009
.test don't optimize when running test build. Nov 30, 2009
Dominion.hs move bots into Dominion.Bots. Dec 18, 2009
Lobby.hs add lobby-chat which supports tables. Nov 27, 2009
NamePicker.hs simplify wire protocol of NamePicker. Dec 2, 2009
README.md update readme Dec 17, 2009
Setup.hs remove two more test programs. Dec 18, 2009
TODO simplify index.html Dec 17, 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
testdom.hs move bots into Dominion.Bots. Dec 18, 2009
testyaml.hs Merge less stupidly?? Nov 29, 2009
yamltest.hs fancier laziness test. Oct 24, 2009

README.md

hsgame

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 http://127.0.0.1:8081.