Age | Commit message (Collapse) | Author | Files | Lines |
|
only shows 0,1,few or many tricks, so that we don't give too much information away. Might adjust or change this in the future.
This addresses issues #11.
|
|
some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.
|
|
used to test for 'pre' or 'play' games by doing a ...!='gameover', this doesn't work
anymore with canceled games being another option for the game status.
|
|
The validator should be happy again ;) and the clocks should look a bit better.
|
|
deleting the games could result in the same people getting the same hand redealt over and over again.
By just keeping track of the hands in the game table, this problem should be gone.
Fixed issue #50.
|
|
included the name of the person in the email
|
|
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
|
|
gets rid of a bit of text and should leave more time for other buttons
|
|
jquery
using jquery to add table sorting, might also use it for other things later.
Also optimized some DB-queries and cleaned up some code.
|
|
users can specify a vacation start and end date and a message. Once they are on vacation their name will be shown in a different color at the table and on the user page (in case it is their turn).
|
|
the table
used the same function to count the number of trump cards as was used to determine poverty status.
Therefore, foxes were not accounted for. Fixed now.
|
|
show the current score as the link to the score table
|
|
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>
|