Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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
|
|
right menu
the re/contra, etc. box showed up after a user finished the setup, changed it so that
it now only shows up after the game has started.
The input form for comments after a game has finished was still in the card area, moved
it to the right game menu.
|
|
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 ;)
|
|
games are now ordered by sessions, also fixed a typo
|
|
game setup
fixed last commit.
for new games, the table is now shown and one can select the place people are sitting
better.
|
|
don't use gameid, but use session.gamenumber instead. needs this for tournaments later.
new games will get a session number now by default.
|
|
added another trick as trick13 that displays the final score. Also moved the
played card to show up as a normal card and not in the middle of the table anymore.
|
|
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
|
|
started cleanup on index.php. trying to move as much out of index.php
as possible to make it easier to read.
|
|
moved error checking into a function and made working on the database a config.php
option
|
|
updated footer to point to the new git repository
|
|
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
|
|
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 ;)
|
|
the session and the trick menu didn't use the full width of the screen,
because they were cut off by the floating divs on the left
|
|
forgot to check in an if-clause if the player was still playing or if the game was already over
|
|
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
|
|
had a wrong GROUP BY SQL statement in the code.
|
|
just a few small things
|
|
if a user hits reload during the questions for the vorbehalt, the server
printed an error message and the game could not continue. Now this is detected
and the user is send back to the right page during the setup and can continue normally.
|
|
howto redeal
|
|
new icons for trump solo and spade solo
|
|
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;
|
|
email and name can be defined in config.php. Errors are send to that email address.
|
|
the server should now correctly dispaly who need to do a move
during the setup.
|
|
|
|
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.
|
|
used php.ini to set the return address for emails.
fixed typo in variable that prevented sending of emails at the end of the game
|
|
re/contra/120...0 and wedding now have icons
|
|
cleaned up the code and corrected some typos
|
|
Now everyone can see all the cards at the end of a game.
|
|
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 ;)
|
|
|
|
added *~ (e.g. emacs backups) to gitignore
|
|
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
|
|
|
|
|
|
|
|
|