Age | Commit message (Collapse) | Author | Files | Lines |
|
moved some DB queries out of loops
|
|
if a session has more than 12 games, add the names of the players also at the end of the score table.
|
|
makes it easier to figure out what they mean.
Solves issue #27.
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
hadn't checked debug mode with tidy
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>
|
|
changed the last two tables to the new CSS-tables.
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>
|
|
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>
|
|
probably never did any harm, but long anyway
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
should be easier to add some new features now.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot to add some variables as globals, while moving code to a function.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
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>
|
|
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>
|
|
to DB_xxx
should be very easy now to change to a different database. also made the code look nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
show points/game for all players that have 10 or more games
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added action=stats and moved the stats.php page to the include directory. Now we
have a nice small index.php. Also moved the session_start in front of the includes,
since it gave me an error on the mac otherwise?!
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
no more if, but one nice switch statement in index.php
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
created an include dir and almost everything that was in index.php is now in separate
files and gets only included in index.php... makes index.php look a lot nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|