summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-06-15BUGFIX: if a call is made the icon will show up right awayArun Persaud1-12/+12
check at the beginning if a call was made, so that the information is up to date when the output for the table is generated. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08BUGFIX: user menu didn't list all games where it is your turnArun Persaud1-1/+1
games where you need to decide if you want to play should be listed in the menu on the left. The problem is that once somebody moved they won't show up in the list anymore, since from that point on the server keeps track of who needs to move next. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08BUGIFX: notes are now available during every phase of the gameArun Persaud3-19/+25
you can now take notes also during the pre-game phase. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-08NEW FEATURE: added caching to stats.phpArun Persaud3-180/+219
since reloading always took a while and things don't really change that much over a day, I added a caching to it. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-07BUGFIX: fixed a typo in the scoretableArun Persaud1-1/+1
Nr instead of No Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-07LAYOUT: fixed the layout of the userpage a bitArun Persaud3-12/+9
the size of the whole page is wider now and the middle column of the table is fixed to a certain width. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-06BUGFIX: fixed wrong use &amp; in mailsArun Persaud1-8/+8
&amp; should replace & only in html output not in emails. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-06-03BUGIFX: fixed a layout issue in IE6Arun Persaud2-1/+2
the tricks used the wrong parent for position:absolute. this might fix it. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-01NEW FEATURE: statistics of most solos per gameArun Persaud1-0/+14
added a new statistic Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-01LAYOUT: moved score table and rules to the topArun Persaud4-96/+175
removed more of the side layout into the top session bar. removed the list of games in a session and have it now accessable via the score table Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-31BUGFIX: pre/next button was displayed incorrect because of wrong </li> statementArun Persaud1-5/+9
sometimes an extra </li></div> was issued which messed up the HTML. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-31LAYOUT: make html standard conform in debug modeArun Persaud1-1/+1
hadn't checked debug mode with tidy Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: used tidy to clean up the HTMLArun Persaud3-32/+29
got rid of a lot of warning message, HTML should be nicer now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGFIX: some text was outside a div. also fixed a html issue.Arun Persaud1-5/+6
moved the text back inside the div and also changed a & into a &amp; Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGIFX: wrong order in if-statement led to checking an (in some cases) ↵Arun Persaud1-1/+1
uninitialized variable changed the order and now everything should be fine. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29BUGFIX: forgot to close a <li> and a <div> on the first trick playedArun Persaud1-1/+1
messed up the html a bit, just a minor fix though Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: fixed some invalid htmlArun Persaud1-18/+18
replaced & with &amp; everywhere in game. and fixed a typo. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: floating tables on the statistics pageArun Persaud3-43/+31
less text, captions are real captions not in paragraphs anymore, etc. not sure about the floating arrangments, but still better than before Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: more tables on the statistics pageArun Persaud2-48/+52
changed the last two tables to the new CSS-tables. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: applied new table output to statistics pageArun Persaud2-76/+73
most table on the statistics page should look nice now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: added a unified table layout for statistics, etcArun Persaud3-2/+72
a table that can be styled via CSS is created from an array. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-25NEW FEATURE: add two buttons to move forward and backwards through the tricksArun Persaud2-2/+15
makes navigation through the games easier Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-25BUGFIX: fixed a typo in the text for povertyArun Persaud1-2/+2
(reported by Lance) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24LAYOUT: only display user menu if it's your turn in some gamesArun Persaud1-2/+5
the user menu now only has the list of games in it, so no need to display it, if it is nor your turn in any games Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24LAYOUT: rearranged the user menu to show up in the top right cornerArun Persaud2-15/+18
also limited the amount of games that show up in the user menu if it is your turn Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24NEW FEATURE: automatically accept new gamesArun Persaud3-11/+64
user can set this in the preferences now and won't be asked during a game setup Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24BUGIFX: game didn't get started in normal poverty gamesArun Persaud1-9/+32
forgot to set the players who didn't get asked to take the trump to 'play' status. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-24CLEANUP: removed todo item for silent solo from codeArun Persaud1-1/+1
changed comments Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-22BUGFIX: typo in create_databaseArun Persaud1-1/+1
missed a comma (found by Sean). Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-22BUGIFX: more accurate display of whos turn it isArun Persaud1-0/+3
forgot some breaks when looping over all players, so that the player was set to someone that needed to do something, but not to the player closest to the dealer, but furthest away from him. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-22LAYOUT: added user menu to newgame page also when you started a gameArun Persaud1-28/+38
once you started a game you only got a message telling you that, but no way to get back to your user page with all the links. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-19BUGFIX: setting the gametype gave away information in case someone wanted to ↵Arun Persaud1-1/+5
play solo. setting the gametype to what was stored in the DB sorted the hands of everyone according to the gametype. This showed for example if someone wanted to play a solo, since then everybodys cards where ordered like that... changed it now, so that for the pre-game phase the cards are ordered for normal games. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18BUGFIX: forgot to set default values for some new variablesArun Persaud1-5/+7
$GAME['schweinchen-who'] was not necessary defined Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18BUGFIX: forgot to initialize a variableArun Persaud1-0/+1
Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18BUGFIX: show schweinchen has highest trump in your handArun Persaud2-9/+47
correctly shows both schweinchen as highest trump or just one depending on the rules. If only one don't allow to play it unless the first fox has been played. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18BUGFIX: problem with Schweinchen during pre-game phaseArun Persaud1-3/+12
in case a player called solo, the gametype was set so that for other playes Schweinchen wasn't calculated correctly anymore. This could result in trump being counted incorrectly and therefore poverties not being discoverd. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18BUGFIX: show comment for Schweinchen the moment it is playedArun Persaud1-7/+10
the user had to reload before he could see the comment, now the automated comment shows up right away. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-18LAYOUT: added a CSS resetArun Persaud2-10/+30
hopefully makes IE pages look better ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-17BUGFIX: diamond was added twice in defining the sorting order for the cardsArun Persaud1-1/+1
probably never did any harm, but long anyway Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-17CLEANUP: rewrote code for SchweinchenArun Persaud2-26/+48
should be easier to add some new features now. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-15BUGFIX: scoring of silent solo was wrongArun Persaud1-8/+37
game type wasn't set to silent solo. Also needed to change some outputs and other special cases for silent solo Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-15BUGFIX: wrong messages for email notification in preferencesArun Persaud1-4/+4
emailaddict said "lots of emails" but should say "less emails" Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-13BUGIFX: during each reload of a game, the starplayer got reset and emails ↵Arun Persaud1-30/+36
got send out the routine that emails the startplayer and sets some other variables (e.g. whos turn it is) should only be called once. Was called everytime the game page was reloaded though. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-12BUGFIX: some variables where not defined after moving some code aroundArun Persaud1-0/+1
forgot to add some variables as globals, while moving code to a function. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-11BUGFIX: rewrote poverty, should fix lots of bugsArun Persaud4-365/+434
poverty should work now, even if the user doesn't do everything in one go. Cleaned up the layout at the same time. The cards were sometime displayed below the main page, which led to a lot of empty space... Indicating whos turns it is during the pre-game phase should now be ok. Also cleaned up whitespaces. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-10NEW FEATURE: display if someone is sick during the init phaseArun Persaud2-2/+25
Now players can see if someone in front of them said they were sick or not. This way people can decide to wait until people in front of them finished the init phase to see what the other playes said... it's made so that you can also see if people behind you already have decided or not, but the player won't see the result in that case... Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-10LAYOUT: repaired the layout for starting a new gameArun Persaud1-6/+5
the table was offset and some text was overlayed by the table. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-10NEW FEATURE: new settings page, user can now change timezoneArun Persaud7-177/+286
rewrote the settings page, timezone can now be changed, the user menu shows up on the left on the pref page. Added a link to the pref-page in the left menu. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-08CLEANUP: reorganized the 'init' phase of a gameArun Persaud4-88/+59
moved some code around, so that we test the result of the init phase in the init case statement. Made things a bit clearer and removed one page reload by doing this. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-08BUGIFX: typo in a call to a database functionArun Persaud1-1/+1
nothing critical Signed-off-by: Arun Persaud <arun@nubati.net>