Commit Graph

47 Commits

Author SHA1 Message Date
timsookram 9f14e33880 Moving padding inside container divs 2012-12-23 09:30:53 -08:00
timsookram 2fc43c3e27 Bolding scores and player on scorecard 2012-12-23 09:30:52 -08:00
timsookram a2ac914817 Update WebContent/cah.css
Removing margin from h3 in game lobby description
2012-12-23 09:30:51 -08:00
timsookram 0c2dfb659a Update WebContent/cah.css
Changing selected card style
2012-12-23 09:30:51 -08:00
timsookram ce20c55807 Update WebContent/cah.css
-Adding gradients to bottom of cards and game lobbies
-Styling Join button
2012-12-23 09:30:50 -08:00
timsookram a8fd92cf66 Update WebContent/cah.css
General:
 -Removing borders and using grey background to add contrast

Game Lobby:
 -Bolding Game Status & Join Button
 -Padding Game Description
Game:
 -Adding rounded corners and thinner borders to cards
 -Subtler blue selected card state
2012-12-23 09:30:50 -08:00
Andy Janata c66ffa6e1f Now fix the chat box font. 2012-10-27 08:51:12 -07:00
Andy Janata 22156e90ac add tabs, move user preferences to a tab, and fix the chat ui to fit the tab. it gets very bad at small window sizes though 2012-10-15 20:23:37 -07:00
Andy Janata 90788982c0 chat messages from admin users show up in blue. admins are defined by IP address for now. 2012-08-20 20:03:52 -07:00
Andy Janata 7cf9413861 - add card set support to the game itself
- add watermark field to cards to indicate what to display over the logo
- display said watermark
2012-07-07 15:01:33 -07:00
Andy Janata b06ad5d5d5 fix z-order on Confirm button to always be on top 2012-07-01 23:52:52 -07:00
Andy Janata 21e0aea9a3 add button to display game options in middle of game. do not allow host to change options in middle of game (on client, server should check this too) 2012-03-18 21:38:24 -07:00
Andy Janata 1237d4c8a2 move round cards up the z-order again 2012-03-16 18:34:20 -07:00
Andy Janata a679a7a36c - confirm leaving game
- initial game options. it never displays it right now since it isn't done
2012-03-15 13:50:42 -07:00
Andy Janata 57556c2f95 set the played cards z-index so hopefully it will always show over hand 2012-03-12 20:18:28 -07:00
Andy Janata 3058cf9498 - the re-centering of "you are czar" hand overlay wasn't working, so I removed it.
- ability to show the last round. this updates as soon as a new round winner is selected, and is tracked entirely on the client
2012-02-07 19:30:30 -08:00
Andy Janata 463432e369 Gray out the Card Czar's hand and display a message over it. 2012-02-07 14:15:51 -08:00
Andy Janata 4d5fddd293 add 2-clause bsd-style license to source files 2012-02-02 14:47:23 -08:00
Andy Janata b5cb45353c - make the logo on the cards from css instead of images
- fix reshuffle notifications not delivering to client properly
- fix not actually putting "draw 2" cards into the players' hands
2012-01-31 20:22:07 -08:00
Andy Janata a493b917ed rudimentary support for pick X and draw X cards. it looks completely wrong on the client during the play phase. does not display the annotations to the player yet either 2012-01-31 17:59:53 -08:00
Andy Janata 6cdb68efc2 - "points" -> "Awesome Points"
- move divs around and mess with the styling and js to make vertical resizing, and resizing of the chat in general, work
2012-01-30 00:35:27 -08:00
Andy Janata 0e11e59207 - judge can select card
- game goes to next round
2012-01-27 15:41:57 -08:00
Andy Janata 692f2057e9 pointer cursor for round white cards 2012-01-27 00:19:20 -08:00
Andy Janata d06e835ac4 add the zoom effect to round cards, and let the judge select a card 2012-01-27 00:14:48 -08:00
Andy Janata 7600ec27de - refactor game handlers a bit to add another abstract class that ensures the user requesting is in the game in question
- add play card handler. need to send the white card count down to users that refresh the page.
- ajax event handlers get the request object as well as the result object so the server doesn't have to send the game id back in a response
2012-01-26 18:07:39 -08:00
Andy Janata 6ed6bdb365 resize hand cards when resizing window.
fix font being fucking huge in firefox.
2012-01-25 00:03:41 -08:00
Andy Janata f92258fb56 able to select and deselect cards in hand 2012-01-24 22:39:19 -08:00
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 3253be9530 comment out bad browser warning 2012-01-23 23:04:14 -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 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 bd0c11fcf7 fix some alignment 2012-01-20 18:56:33 -08:00
Andy Janata 019505e0b4 make stuff more relative-size-friendly 2012-01-20 16:11:59 -08:00
Andy Janata 577586139e - escape html in chat on client and server
- rework how the gamelist was shown
2012-01-20 14:55:08 -08:00
Andy Janata 890964b85d card classes 2012-01-19 21:19:55 -08:00
Andy Janata 4a3a9d95bd add templates for cards. change how game list lobbies are cleaned up 2012-01-19 18:19:05 -08:00
Andy Janata 40de91b5ac some work on the game list 2012-01-17 20:37:09 -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 9508575949 log out button 2012-01-06 15:53:04 -08:00
Andy Janata 0183ca5357 - change register error message only showing up once instead of repeating every time you try and get an error. it probably should blank when you start typing again though
- pull the long polling handlers out to their own file like the ajax response handlers
- chat
2011-12-24 19:37:45 -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