Commit Graph

11 Commits

Author SHA1 Message Date
Andy Janata 234b82afd2 - display black card in game
- display message indicating what the game is currently waiting for
- reload the black card when reloading page
- change the js constant generator to explain what the dummy things are for in the output
- add support for enums that need two user-visible values (specifically the game player state: the short message for the scoreboard and the long message telling the player what they need to do)
- hide the start game button after the game is started
- refactor game event longpoll handlers to use a helper that gets the game and reports an error if it can't
- game (should) reset to a lobby if it loses players to put it less than 3
2012-01-24 16:20:43 -08:00
Andy Janata 44153c549a resize the cards when zooming them so the other cards flow 2012-01-23 23:13:40 -08:00
Andy Janata 363bfc1147 get rid of unneeded zindex hack 2012-01-23 23:04:52 -08:00
Andy Janata 5915a3558d - reload hand after reloading page
- use transform animation in all browsers to reduce complexity :(
2012-01-23 23:02:59 -08:00
Andy Janata 2f2d683384 fix card zoom in firefox and opera, and display a message that this looks better in chrome for those browsers the first time the page loads 2012-01-23 19:14:29 -08:00
Andy Janata d41b06ffde fix card scaling in ie, but the logo still is broken 2012-01-23 17:41:02 -08:00
Andy Janata c73ce88646 deal cards to players when the game starts 2012-01-23 15:06:20 -08:00
Andy Janata 44dcc45c48 update the scoreboard when a player leaves or joins the game 2012-01-23 13:37:11 -08:00
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