Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
In case a player is involed in too many games it can get quite confusing with
whom your playing, etc. so now the player can add notes on the side that only
show up on his/her screen.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
instead of showing all registered players, just display the above.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
in a previous commit I moved those tings to the output_header function.
Turns out you can't do that, so here is the fix.
|
|
when a game gets cancled new games use that game_id in the DB which can mess up the ordering of sessions. fixed now.
|
|
check online
all emails saying: it's your turn can be turned off now by a user preference
|
|
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
|
|
several people could start a followup game (or one person hitting reload) and several games were started. Now the prog checks if there is already an active game.
|
|
if a player hasn't moved for a week a reminder email can be send out.
only one per day is possible, tracking in the db
|
|
games are now ordered by sessions, also fixed a typo
|
|
don't use gameid, but use session.gamenumber instead. needs this for tournaments later.
new games will get a session number now by default.
|
|
old numbers got reused, but more than once for the same people
should be fixed now.
|
|
to change your password you needed your old password, the recovery
password didn't work, which made it hard to change it, in case you
forgot your old password... fixed
|
|
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
|
|
you can now also comment, if it is not your turn,
and up to 7 days after the game finished.
doubled size of comments too
|
|
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
|
|
$call wasn't added everywhere where a new ruleset was defined;
|
|
|
|
Added a simple form of password recovery. The user gets send an email
with the new password, which is valid for 24h. The user can request a
maximum of 5 passwords within 24h to prevent filling up the database
with garbage.
|
|
When people got CC'ed on the final email, they also got copies of everyones
email and the link to the game in that email. That way they could go to the
user page of a different user.
Removed CC option and will just send out two emails from now on. The first one to
all players (reply all possible) and the second one with the personal link.
|
|
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 ;)
|
|
* 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
|
|
|
|
bugfixes
|
|
|
|
issue
|
|
|
|
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
|
|
|
|
|
|
|
|
correctly from now on
|
|
|
|
trick
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the end of an old one.
|
|
|
|
|