Age | Commit message (Collapse) | Author | Files | Lines |
|
had two cases (no schweinchen and two schweinchen) mixed up.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
instead of having a different function for each possible way to query
for example the full name of a player, there is now only one function
with a switch statement that handles the different cases. Still not
100% perfect, but I think nicer to read than before.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
schweinchen
fixed the comment issue and also added trump solo to games where schweinchen will count
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
* the home page now links to the wiki
* the wiki-url is now part of the config file
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
before I used a lot of http:// requests although the files were in the
same domain, now local links with absolute paths are used.
|
|
had to reset the timezone to the local time. added a config parameter to store the local timezone.
|
|
Got rid of a few db-queries for getting the right timezone. The timezone was also set after the timefunction was called and therefore the timezone didn't have any effect.
|
|
if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
|
|
the linebreak for displaying the tricks should be gone now.
Fixed also quite a few other small things at the same time.
|
|
created a link from the user menu to the stats.php page
|
|
a table will be shown now for score keeping.
fox, karlchen and dokos are accounted for
normal win, calling something and winning should be accounted for
still missing:
both parties call or one party calls and doesn't acchieve it's goal
|
|
added some newlines and spaces
|
|
centered table, moved menus to correct place (this also fixed
a bug that still showed that it was your turn in a game after
you moved) and some other small changes.
|
|
mixed finished games, started games and games in progress into one table
|
|
a bit more html on the user page and the session are displayed differently now.
Also fixed a few small html errors, moved the link for new games into the menu
and probably some small things I don't remember right now ;)
|
|
game setup
fixed last commit.
for new games, the table is now shown and one can select the place people are sitting
better.
|
|
table is also shown during setup of the game
user menu on the left, game menu on the right
user menu shows games in which you have to move
|
|
the ini_set method didn't seem to work for some reason.
Setting the From in the header does work though
|
|
moved error checking into a function and made working on the database a config.php
option
|
|
you can call re/contra, etc. now even if it is not your turn.
Also fixed rule where you can say 90 with 9 cards, etc. so that
you need to say 120 to say 90, 90 to say 60, etc.
|
|
used php session, so that people can actually log in and out
and linking from one page to another can be done easily without
using form to send the password as a hidden parameter over the
net all the time
|
|
people complained about too many solos ;) so I changed
from the standard php random generator to a better one.
Not sure if that solves the problem though ;)
|
|
DB querry was missing a column
|
|
use the database now to add up points, cleaned up the code a bit (counting
points was done in different places), don't use score table for points from cards any more
|
|
email and name can be defined in config.php. Errors are send to that email address.
|
|
|
|
|
|
random numbers generated for old games are reused in case none
of the players were in that old game. Will be interesting how different
people play with the same hand ;)
|
|
|
|
in can_call had wrong sign
|
|
* NEW: display sessions
* NEW: display who's turn it is on the userpage (change in DB)
* NEW: different ways when to say 90, 60, etc. (change in DB)
* MISC: some clean up, e.g. display of final score
|
|
|
|
outdated
|
|
|
|
|
|
bugfixes
|
|
|
|
|
|
|
|
|
|
getting to the table...
* wedding is now announced
* for solo and normal games, re and contra are assigned correctly
* the score for re and contra is computed at the end
* used one variable $CARDS instead of several global ones e.g. $CARDS["trump"] instead of $TRUMP
|
|
added rulesets (change in database): at the beginning of a game differnt rules can be chosen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trick
|
|
|