Age | Commit message (Collapse) | Author | Files | Lines |
|
if a session has more than 12 games, add the names of the players also at the end of the score table.
|
|
|
|
|
|
Players who set their preference on this setting to 'no' are not considered as players in a new game.
|
|
the player is now automatically on pos 4 and the other positions are filled randomly. Also make sure that no player shows up more than once.
|
|
makes it easier to figure out what they mean.
Solves issue #27.
|
|
makes it clear what you can call in a silent solo.
Fixes issue #41.
|
|
old code used a long time to figure out if cards from another game could be reused. The new version should be much faster.
|
|
the right margin was incorrect, fixed now.
|
|
seems stable enough :)
|
|
only uses the difference of timesstamps when you don't play the first card of a trick
|
|
you can now sort your hand "low to high" and change your default using the setting dialog
|
|
the bug where you couldn't click on the prev/next button shouldn't show up that often now, since that area is now a bit bigger, but the bug is still there...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
some html + css code cleanup
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
doesn't need to be in every html page. better to have it in its own file, so that it can be cached by the server.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a line break, made the score table look better
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
print a number instead of "F" to indicate how often a hand has been played.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot a ;
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
guess now it's mostly bugfixes for 1.0 ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
guess they should know ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
only sent out one email with links for everyone in it.
This is now possible, since it's ok for other people to visit games from another player.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
new rule that only allows Schweinchen in case one of the teammembers called re/contra.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
same hand
had to change a few things and check more often if people are logge in, so that for example
personal notes only show up when you are logged in and not when someone else is looking at your cards
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
found by Sean during extensive testing ;) should behave better now.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
named a column 'call' which seems to be a reserved word for mysql,
so doing a "...AND call='...' " didn't work. Changed to Tabelname.call
and everything seems to be ok.
Also deleted trailing whitespaces.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot to add wedding to list of games that need to be checked for schweinchen.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
make "still needs to decide" two lines:wq
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
include silent solo in the solo statistics (number of solo/game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
how often does the re/contra party call no 90, no 60, etc.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
the total points and the game points for re/contra now only show up
on the "score" trick. This way they don't overlap with graphics when
looking at older tricks.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
made some very simple icons for displaying the rules
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a check for the length of the new password, so that empty passwords are not allowed.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
lots of work still needs to be done to make this readable again. It's pretty messed up with lots of things
out of order and also the naming convention is not consistent. I'm also sure that you can achieve the same effect with a lot less layout.
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
|
|
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>
|