Commit Graph

8 Commits

Author SHA1 Message Date
Andy Janata eec3ad81ca - make currentGames be a list instead of a single object, just in case I do multiple games later
- add event handlers for leave and start game buttons
- leave game button works
2012-01-23 13:20:15 -08:00
Andy Janata 8e3c1372dc - fix formatting in css file
- add some templates for game lobbies
- client properly joins a game and shows the lobby!
- reconnect to in-progress game when refreshing page
2012-01-22 23:58:36 -08:00
Andy Janata 922207736a start working on in-game view 2012-01-21 17:34:18 -08:00
Andy Janata 890964b85d card classes 2012-01-19 21:19:55 -08:00
Andy Janata 90b3129f66 cah.bind to bind functions to objects 2012-01-17 20:36:34 -08:00
Andy Janata 87c77993af refactor the js code into several files. need to further refactor the ajax handlers, and make the server automatically assemble the list of files the client needs.
some sort of dependency ordering needs enforced too.
2011-12-22 18:48:20 -08:00
Andy Janata 5aacc0ac32 - add long polling support
- broadcast a message when a new user connects
- utilize the long polling to deliver the message to existing clients
2011-12-22 14:19:59 -08:00
Andy Janata 668f9fe87d initial commit 2011-12-16 16:39:52 -08:00