Andy Janata
|
315549d87f
|
game passwords, and display more game information in the lobby list
|
2012-03-18 21:20:48 -07:00 |
Andy Janata
|
14746a6a69
|
update index page with new news
|
2012-03-18 11:45:27 -07:00 |
Andy Janata
|
a1c2bbce80
|
allow to choose between first version cards, second version cards, or all cards at once.
|
2012-03-17 20:17:32 -07:00 |
Andy Janata
|
0923d8f0f3
|
>= instead of == for winner score checking
|
2012-03-17 16:21:23 -07:00 |
Andy Janata
|
2203d8927d
|
put session stuff in CahServlet in a try-catch because that sometimes blows up and seems to kill the server.
|
2012-03-17 16:21:09 -07:00 |
Andy Janata
|
c6659b3abb
|
display the total duration of the current play timer. will make it count later
|
2012-03-16 18:35:13 -07:00 |
Andy Janata
|
a8e7273e13
|
increase play timers.
fix play timer for people who have played a card but not all required cards (by removing their cards and returning them)
|
2012-03-16 18:34:59 -07:00 |
Andy Janata
|
1237d4c8a2
|
move round cards up the z-order again
|
2012-03-16 18:34:20 -07:00 |
Andy Janata
|
dd117f05d2
|
fix constants for test
|
2012-03-16 17:05:27 -07:00 |
Andy Janata
|
207ffc4f9e
|
increase max games to 30
|
2012-03-16 17:00:52 -07:00 |
Andy Janata
|
f2b5f2b623
|
PYX, not PYZ, you idiot.
|
2012-03-16 17:00:01 -07:00 |
Andy Janata
|
e0391b8d4e
|
skip and kick idle players
|
2012-03-16 16:59:50 -07:00 |
Andy Janata
|
95fe597184
|
add intermission after judge leaves game. it looks weird, and acts a bit oddly, especially for the previous judge: they can pick a winner but it won't let them choose on the server. still I think this is better than the old way of just starting the next round immediately.
|
2012-03-15 23:43:43 -07:00 |
Andy Janata
|
27a58856d8
|
fix host options with the card set hidden
|
2012-03-15 20:19:24 -07:00 |
Andy Janata
|
a6f1a139be
|
game host can configure maximum players and score goal
|
2012-03-15 20:06:23 -07:00 |
Andy Janata
|
9d627ed01b
|
increase max games to 20
|
2012-03-15 20:06:06 -07:00 |
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
|
1a2b47e809
|
update README
|
2012-03-15 14:08:52 -07:00 |
Andy Janata
|
2332c68f75
|
add a subheading to the index page that this is a cah clone
|
2012-03-15 14:04:12 -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
|
5fa3bf5ece
|
confirm logging out
|
2012-03-15 13:50:24 -07:00 |
Andy Janata
|
79cf13c8e2
|
change github url
|
2012-03-15 11:15:28 -07:00 |
Andy Janata
|
2e0168e7ce
|
Cards Against Humanity -> Pretend You're Xyzzy
|
2012-03-15 10:14:32 -07:00 |
Andy Janata
|
14dbf94b27
|
try to prevent an NPE if the "correct" person leaves a game, especially if it was due to ping timeout
|
2012-03-14 21:52:58 -07:00 |
Andy Janata
|
f6d1c685b8
|
put a try-catch around the ping timer check code so if it has an NPE or something it doesn't crash the thread.
|
2012-03-14 21:52:28 -07:00 |
Andy Janata
|
073bdb7368
|
name the ping check timer and flag it as a daemon
|
2012-03-14 21:51:55 -07:00 |
Andy Janata
|
1b465bad8f
|
fix the servlet mappings in web.xml. make everything uncachable.
|
2012-03-13 00:42:07 -07:00 |
Andy Janata
|
2931fb7492
|
add TODO about cards blanking when players join and leave game
|
2012-03-12 22:20:17 -07:00 |
Andy Janata
|
2d770e4098
|
update home page information
|
2012-03-12 22:20:04 -07:00 |
Andy Janata
|
349154367c
|
add something to set maximum cache age of an hour on static files. hopefully this is sufficient
|
2012-03-12 22:19:57 -07:00 |
Andy Janata
|
add5386127
|
POSSIBLY BREAKING CHANGE: change all the over-the-wire Constant values to shorter things.
|
2012-03-12 21:06:35 -07:00 |
Andy Janata
|
3273cfed12
|
make server-side check for no-content chat messages too
|
2012-03-12 21:05:57 -07:00 |
Andy Janata
|
ae5bc1d594
|
fix some problems with using hard-coded strings instead of values from Constants
|
2012-03-12 21:05:43 -07:00 |
Andy Janata
|
2e62708ea6
|
change long poll server-side returning to 20+5 seconds, client-side timeout to 45 seconds, and ping checking to 45 seconds. this should hopefully helpe with people that just close the window.
increase the maximum number of messages returned per poll to 10 for no particular reason :)
|
2012-03-12 21:05:19 -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
|
e614a0da57
|
add a test for over-the-wire uniqueness for Constants, with an annotation to allow intentional duplication.
|
2012-03-12 20:18:24 -07:00 |
Andy Janata
|
2d42710270
|
don't send blank chats to the server
|
2012-03-12 19:49:36 -07:00 |
Andy Janata
|
f9b6de36d0
|
jsdoc cleanup
|
2012-02-20 12:34:26 -08:00 |
Andy Janata
|
4ee3212d6d
|
Move the servlet handlers to a subpackage.
|
2012-02-20 12:31:51 -08:00 |
Andy Janata
|
97a48f62b7
|
Comment on a FindBugs warning and why it's being ignored.
|
2012-02-20 12:29:32 -08:00 |
Andy Janata
|
02e2715809
|
Don't overwrite displaying the last round's black card when a new black card is dealt, if we are looking at the last round's results. Fixes #4.
|
2012-02-20 11:59:47 -08:00 |
Andy Janata
|
444bcd96e0
|
wrap loading the decks inside a transaction, and commit the transaction when we're done. hopefully this finally gets rid of the lingering transactions...
|
2012-02-20 11:51:03 -08:00 |
Andy Janata
|
16b36e2c4b
|
force UTF-8 encoding on incoming requests. jquery docs state that ajax data is always utf-8 encoded, however it doesn't actually send the encoding specification along with the request so we have to force it here
|
2012-02-20 11:50:35 -08: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
|
89da813b28
|
refactor around the card resize code so it's only in one place
|
2012-02-07 17:06:23 -08:00 |
Andy Janata
|
f4ef1b3521
|
make the hand card scaling use the same algorithm as the round cards, to prevent them from getting larger than 100% scale
|
2012-02-07 16:31:56 -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
|
9a9202e1ce
|
add source download link
|
2012-02-06 15:11:44 -08:00 |
Andy Janata
|
0ff6887e8a
|
remove all absolute paths from classpath and move all libs into web-inf/lib
|
2012-02-06 15:04:37 -08:00 |
Andy Janata
|
d9d58958bb
|
add a README for github
|
2012-02-06 14:57:54 -08:00 |