Age | Commit message (Collapse) | Author | Files | Lines |
|
up to now anyone could start a new game, now you need to be logged in and also be a player in the game
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
the whole process is not very easy to read... you could get from start to init, but then
the error check for the start phase was done during the init phase and if something went
wrong init sent you back to the start-phase... now all error-checking for the start-phase
is done during the start phase. should be a bit easier to read ;)
Still need to fix the other sections
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
in db.game the next player is set with his user.id, but I used the
position at the table in some places. fixed now
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
Vorbehalte are now shown in the same list as tricks and the score, so that players
can go back and have a look at who said what
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
the login information was displayed twice, also formatted the output a bit nicer in html
|
|
just typos nothing more...
|
|
before I used a lot of http:// requests although the files were in the
same domain, now local links with absolute paths are used.
|
|
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.
|
|
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.
|
|
add a few lines to show the total amount of game points for this game in the email
that gets send out
|
|
the linebreak for displaying the tricks should be gone now.
Fixed also quite a few other small things at the same time.
|
|
display each of the points re and contra made during the game.
At the moment only the names from the database are used.
|
|
now all games are scored. Rules can be looked up in the wiki.
|
|
check online
all emails saying: it's your turn can be turned off now by a user preference
|
|
added a few statistics to an extra page, still not completely done, but already working
|
|
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
|
|
moved some css from inline to the style sheet, some linebreaks, etc.
|
|
no the prog checks and sends the player back to the questionary, before it wasn't clear to the user which vorbehalt would be used (e.g. wedding or poverty)
|
|
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.
|
|
there was still a lot of text that wasn't aligned yet. Still not perfect, but much better than before ;)
|
|
they second fox always became the highest trump, even if the two
foxes where not on the same hand.
Also: every fox led to a comment:"schweinchen".
Both fixed now.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|