Andy Janata
16483c94b3
fix tests. I really need to run these more often, and write more.
2012-03-15 14:51:36 -07:00
Andy Janata
88b68c87b6
comment ALL the files!
2012-02-06 14:00:24 -08:00
Andy Janata
4d5fddd293
add 2-clause bsd-style license to source files
2012-02-02 14:47:23 -08:00
Andy Janata
fd7fd9b586
fix a test
2012-01-30 16:30:46 -08:00
Andy Janata
8b6d171d66
fix warnings
2012-01-20 19:11:39 -08:00
Andy Janata
5bda9fd452
client can join games. doesn't load the game yet, which is the same thing that happens with creating a game. the same thing should happen for both cases.
...
reworked some tests to be able to hide a method from GameManager. part of this goal was to reduce unnecessary game refresh broadcasts if a client tried to create multiple games.
2012-01-18 16:42:18 -08:00
Andy Janata
79f2f59716
- add game list ajax call
...
- skeleton for game lobby list
- fix ajax handlers to use the constants instead of literals for the ops
2012-01-17 17:48:21 -08:00
Andy Janata
565c17b338
- add GameManager and test
...
- fix up Guice
2012-01-16 23:59:56 -08:00
Andy Janata
8da78ebac7
move MessageType back inside QueuedMessage since the client doesn't need it
...
make converter to produce js enums out of java enums
make everything use the constants on both sides for ajax operation code and disconnect reason
move the handler update out of the subpackage that it generates into
make the enum update and handler update run at build
2012-01-12 20:05:39 -08:00
Andy Janata
45e5705e56
move Type and DisconnectReason enums to a single file, preparing to do the same for all the scattered strings for operations
2012-01-12 13:35:53 -08:00
Andy Janata
de1be43753
tweak GameTest
2012-01-12 13:13:51 -08:00
Andy Janata
0183bb0732
game data object with methods to add and remove players from the game
2012-01-12 13:09:01 -08:00