Age | Commit message (Collapse) | Author | Files | Lines |
|
a call
to figure out who made the lower call, you need to compare the two calls, but for some
reason instead of comparing the two contra-calls, the contra call was compared to the re-call
which could make the algorithm belief that the contra-call was higher than it was.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
mysql's TIMEDIFF seems to have changed... comparing <=0 didn't work correctly anymore.
Changed it to convert to seconds and then compare those against <=0 and use that data to calculate game number
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
& should only be used in HTML output. Changed this a while ago, but seems like I missed one.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
this fixes a bug on the home page where, in case no game was in the pre-game phase, the ongoing games were listed as games being started and the completed games were listed as ongoing games.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot to run a loop, so that it includes the sickness trick (trick0)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
cards exchanged during poverty show now up in the pre-game trick.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
all emails subject should have the list header in them, forgot to add it to the ones that are sent out when starting a new game. Also renamed a variable for more consistency.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
Sean found this...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
hopefully some improvements ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
right away
pre and next buttons were sometimes displayed in another line due to a missing end of a div and a li.
Selecting a sick/healthy only showed up after reloading.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
when you wrote a personal note on your turn, it got inserted into the database twice
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
used single quote instead of double quotes in lots of places
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
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>
|
|
you can now take notes also during the pre-game phase.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
Nr instead of No
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
& should replace & only in html output not in emails.
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
|
|
the tricks used the wrong parent for position:absolute. this might fix it.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a new statistic
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
sometimes an extra </li></div> was issued which messed up the HTML.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
hadn't checked debug mode with tidy
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
got rid of a lot of warning message, HTML should be nicer now ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
moved the text back inside the div and also changed a & into a &
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
uninitialized variable
changed the order and now everything should be fine.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
messed up the html a bit, just a minor fix though
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
replaced & with & everywhere in game. and fixed a typo.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
changed the last two tables to the new CSS-tables.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
most table on the statistics page should look nice now ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
a table that can be styled via CSS is created from an array.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
makes navigation through the games easier
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
(reported by Lance)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
changed comments
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
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>
|
|
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>
|
|
$GAME['schweinchen-who'] was not necessary defined
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
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>
|
|
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>
|