Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Lance made a nice favicon for edoko. So here it is ;)
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>
|
|
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 login information was displayed twice, also formatted the output a bit nicer in html
|
|
small changes in the footer
|
|
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.
|
|
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.
|
|
the linebreak for displaying the tricks should be gone now.
Fixed also quite a few other small things at the same time.
|
|
check online
all emails saying: it's your turn can be turned off now by a user preference
|
|
moved some css from inline to the style sheet, some linebreaks, etc.
|
|
added some newlines and spaces
|
|
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.
|
|
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.
|
|
updated footer to point to the new git repository
|
|
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
|
|
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.
|
|
|
|
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.
|
|
cleaned up the code and corrected some typos
|
|
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.
|
|
|
|
|
|
outdated
|
|
|
|
|
|
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
|
|
randomly pre-selected
|
|
|
|
|