Age | Commit message (Collapse) | Author | Files | Lines |
|
forgot to update the insert statement for the db when changing
the user table a while ago. fixed now.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
list the number of games a user is in at the moment and another list
for the total number of games. Also list people that manage not to lose
their foxes.
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>
|
|
this made sense in some solos, e.g. trumpless, but not in some other solos, e.g. normal trump solo.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added overflow auto to CSS and fixed the height of the div. Depending
on the screen size there might be overlap now, but at least the notes
area won't grow like crazy in case you add too many notes.
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
|
|
fixed a small typo
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
|
|
managed to comment the code a bit more ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
The number of foxes caught/lost was displayed in absolut numbers, which didn't
look good for people who played a lot of games. So now it's on a per game basis.
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>
|
|
had two str_replace functions in the wrong order, should be fixed now.
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>
|
|
the last 4 lines of the score table are now added to the email that is being send out at the end of a game.
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>
|
|
if there was no player set for a new game, the user page didn't show that is was your turn in that game
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
display time in hours together with total points.
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 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>
|
|
added layout to display vorbehalte and also fixed layout for new games a bit
|
|
the login information was displayed twice, also formatted the output a bit nicer in html
|
|
small changes in the footer
|
|
just typos nothing more...
|
|
never tried out IE before ;) fixed some small things, so that it looks a bit nicer on IE
|
|
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.
|
|
this should make the database part a bit faster. not quit sure if this is
the correct way of doing it though :)
|
|
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 wrong time was shown for the minimum game
|
|
title says it all ;)
|
|
also name players a bit more often.
|
|
if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
|
|
add a few lines to show the total amount of game points for this game in the email
that gets send out
|
|
Game base, but all Games where added up
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
|
|
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.
|
|
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
|
|
added a few statistics to an extra page, still not completely done, but already working
|
|
INSTALL files
|
|
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 ;)
|