Arun Persaud [Fri, 30 May 2008 02:46:51 +0000 (19:46 -0700)]
BUGFIX: forgot to close a <li> and a <div> on the first trick played
messed up the html a bit, just a minor fix though
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 30 May 2008 00:47:36 +0000 (17:47 -0700)]
CLEANUP: fixed some invalid html
replaced & with & everywhere in game. and fixed a typo.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 26 May 2008 21:42:45 +0000 (14:42 -0700)]
LAYOUT: floating tables on the statistics page
less text, captions are real captions not in paragraphs anymore, etc.
not sure about the floating arrangments, but still better than before
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 26 May 2008 21:28:29 +0000 (14:28 -0700)]
LAYOUT: more tables on the statistics page
changed the last two tables to the new CSS-tables.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 26 May 2008 18:22:55 +0000 (11:22 -0700)]
LAYOUT: applied new table output to statistics page
most table on the statistics page should look nice now ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 26 May 2008 18:08:51 +0000 (11:08 -0700)]
LAYOUT: added a unified table layout for statistics, etc
a table that can be styled via CSS is created from an array.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 25 May 2008 18:08:04 +0000 (11:08 -0700)]
NEW FEATURE: add two buttons to move forward and backwards through the tricks
makes navigation through the games easier
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 25 May 2008 17:35:33 +0000 (10:35 -0700)]
BUGFIX: fixed a typo in the text for poverty
(reported by Lance)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 24 May 2008 21:50:34 +0000 (14:50 -0700)]
LAYOUT: only display user menu if it's your turn in some games
the user menu now only has the list of games in it, so no need to display it, if it is nor your turn in any games
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 24 May 2008 21:46:39 +0000 (14:46 -0700)]
LAYOUT: rearranged the user menu to show up in the top right corner
also limited the amount of games that show up in the user menu if it is your turn
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 24 May 2008 20:33:55 +0000 (13:33 -0700)]
NEW FEATURE: automatically accept new games
user can set this in the preferences now and won't be asked during a game setup
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 24 May 2008 20:08:12 +0000 (13:08 -0700)]
BUGIFX: game didn't get started in normal poverty games
forgot to set the players who didn't get asked to take the trump to 'play' status.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 24 May 2008 19:53:05 +0000 (12:53 -0700)]
CLEANUP: removed todo item for silent solo from code
changed comments
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 23 May 2008 05:06:26 +0000 (22:06 -0700)]
BUGFIX: typo in create_database
missed a comma (found by Sean).
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 23 May 2008 04:43:00 +0000 (21:43 -0700)]
BUGIFX: more accurate display of whos turn it is
forgot some breaks when looping over all players, so that the player was set to someone that needed to do something, but not to the player closest to the dealer, but furthest away from him.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 23 May 2008 04:32:46 +0000 (21:32 -0700)]
LAYOUT: added user menu to newgame page also when you started a game
once you started a game you only got a message telling you that, but no way to get back to your user page with all the links.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Tue, 20 May 2008 01:54:18 +0000 (18:54 -0700)]
BUGFIX: setting the gametype gave away information in case someone wanted to play solo.
setting the gametype to what was stored in the DB sorted the hands of everyone according to the gametype. This showed for example if someone wanted to play a solo, since then everybodys cards where ordered like that... changed it now, so that for the pre-game phase the cards are ordered for normal games.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 19 May 2008 00:45:03 +0000 (17:45 -0700)]
BUGFIX: forgot to set default values for some new variables
$GAME['schweinchen-who'] was not necessary defined
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 18 May 2008 18:46:46 +0000 (11:46 -0700)]
BUGFIX: forgot to initialize a variable
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 18 May 2008 18:48:25 +0000 (11:48 -0700)]
BUGFIX: show schweinchen has highest trump in your hand
correctly shows both schweinchen as highest trump or just one depending on the rules. If only one don't allow to play it unless the first fox has been played.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 18 May 2008 18:11:40 +0000 (11:11 -0700)]
BUGFIX: problem with Schweinchen during pre-game phase
in case a player called solo, the gametype was set so that for other playes Schweinchen
wasn't calculated correctly anymore. This could result in trump being counted incorrectly
and therefore poverties not being discoverd.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 18 May 2008 17:31:34 +0000 (10:31 -0700)]
BUGFIX: show comment for Schweinchen the moment it is played
the user had to reload before he could see the comment, now the automated comment shows up right away.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 18 May 2008 17:11:34 +0000 (10:11 -0700)]
LAYOUT: added a CSS reset
hopefully makes IE pages look better ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 17 May 2008 18:13:55 +0000 (11:13 -0700)]
BUGFIX: diamond was added twice in defining the sorting order for the cards
probably never did any harm, but long anyway
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 17 May 2008 18:02:37 +0000 (11:02 -0700)]
CLEANUP: rewrote code for Schweinchen
should be easier to add some new features now.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 16 May 2008 01:41:08 +0000 (18:41 -0700)]
BUGFIX: scoring of silent solo was wrong
game type wasn't set to silent solo. Also needed to change some outputs and other special cases for silent solo
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 16 May 2008 01:10:11 +0000 (18:10 -0700)]
BUGFIX: wrong messages for email notification in preferences
emailaddict said "lots of emails" but should say "less emails"
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Tue, 13 May 2008 20:50:43 +0000 (13:50 -0700)]
BUGIFX: during each reload of a game, the starplayer got reset and emails got send out
the routine that emails the startplayer and sets some other variables (e.g. whos turn it is) should only be called once. Was called everytime the game page was reloaded though.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Tue, 13 May 2008 05:59:21 +0000 (22:59 -0700)]
BUGFIX: some variables where not defined after moving some code around
forgot to add some variables as globals, while moving code to a function.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 11 May 2008 22:48:05 +0000 (15:48 -0700)]
BUGFIX: rewrote poverty, should fix lots of bugs
poverty should work now, even if the user doesn't do everything in one go.
Cleaned up the layout at the same time. The cards were sometime displayed below the main page, which led to a lot of empty space...
Indicating whos turns it is during the pre-game phase should now be ok.
Also cleaned up whitespaces.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 11 May 2008 05:30:52 +0000 (22:30 -0700)]
NEW FEATURE: display if someone is sick during the init phase
Now players can see if someone in front of them said they were sick or not.
This way people can decide to wait until people in front of them finished the init phase
to see what the other playes said... it's made so that you can also see if people behind
you already have decided or not, but the player won't see the result in that case...
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 11 May 2008 04:42:49 +0000 (21:42 -0700)]
LAYOUT: repaired the layout for starting a new game
the table was offset and some text was overlayed by the table.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 10 May 2008 19:15:35 +0000 (12:15 -0700)]
NEW FEATURE: new settings page, user can now change timezone
rewrote the settings page, timezone can now be changed, the user menu
shows up on the left on the pref page. Added a link to the pref-page in the left menu.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 9 May 2008 03:40:43 +0000 (20:40 -0700)]
CLEANUP: reorganized the 'init' phase of a game
moved some code around, so that we test the result
of the init phase in the init case statement. Made things
a bit clearer and removed one page reload by doing this.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 9 May 2008 00:28:29 +0000 (17:28 -0700)]
BUGIFX: typo in a call to a database function
nothing critical
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Wed, 7 May 2008 05:21:11 +0000 (22:21 -0700)]
CLEANUP: moved html from output.php to welcome.php
since we now have several files in the include directory, it makes more sense to keep the html directly in the file for some cases instead of putting it in output.php.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Wed, 7 May 2008 03:08:53 +0000 (20:08 -0700)]
CLEANUP: removed all calls to mysql functions and replaced them with calls to DB_xxx
should be very easy now to change to a different database. also made the code look nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Wed, 7 May 2008 02:10:21 +0000 (19:10 -0700)]
BUGFIX: typo in scoring algorithm
The re-party got less points in case the contra-party made a call and lost
the game.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 5 May 2008 02:40:10 +0000 (19:40 -0700)]
NEW FEATURES: show global statistic
show points/game for all players that have 10 or more games
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 2 May 2008 03:15:35 +0000 (20:15 -0700)]
CLEANUP: moved the statistics page into the include directory
added action=stats and moved the stats.php page to the include directory. Now we
have a nice small index.php. Also moved the session_start in front of the includes,
since it gave me an error on the mac otherwise?!
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Mon, 28 Apr 2008 00:43:11 +0000 (17:43 -0700)]
BUGFIX: couldn't restart a finished game; force reload of CSS
problem was that everything on the page was in a form which is now
submitted to the game page, but for new games, we need to call the newgame.php
page. moved the button out of the side and into its own div structure now to fix it.
also renamed the css file to force a reload
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 26 Apr 2008 20:16:24 +0000 (13:16 -0700)]
CLEANUP: moved register.php to the include directory
new users are now also automatically logged in.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 26 Apr 2008 20:01:41 +0000 (13:01 -0700)]
CLEANUP: cleaned up index.php a bit more by introducing an 'action' variable
no more if, but one nice switch statement in index.php
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 26 Apr 2008 18:52:49 +0000 (11:52 -0700)]
CLEANUP: make index.php very short and move everything in separate files
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>
Arun Persaud [Wed, 16 Apr 2008 23:28:00 +0000 (16:28 -0700)]
BUGFIX: couldn't unclick no90 call
radio buttons for calling "no 120", "no 90", etc. had all different names and
therefore clicking a second one, didn't unclick the first one.
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
Arun Persaud [Tue, 15 Apr 2008 04:06:04 +0000 (21:06 -0700)]
BUGFIX: counted foxes wrong for poverty
had two cases (no schweinchen and two schweinchen) mixed up.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Tue, 8 Apr 2008 06:04:56 +0000 (23:04 -0700)]
BUGFIX: adding new users was broken
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>
Arun Persaud [Tue, 8 Apr 2008 05:59:23 +0000 (22:59 -0700)]
NEW FEATURE: some more statistics
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>
Arun Persaud [Mon, 7 Apr 2008 05:25:44 +0000 (22:25 -0700)]
CLEANUP: started some database cleanup and added some more comments
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>
Arun Persaud [Sat, 29 Mar 2008 17:45:59 +0000 (10:45 -0700)]
BUGFIX: a comment for schweinchen was issued even in solo games without schweinchen
fixed the comment issue and also added trump solo to games where schweinchen will count
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sat, 29 Mar 2008 17:23:35 +0000 (10:23 -0700)]
BUGFIX: Karlchen and fox weren't accounted for in solos
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>
Arun Persaud [Wed, 19 Mar 2008 20:05:56 +0000 (13:05 -0700)]
LAYOUT: keep notes area from overflowing
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>
Arun Persaud [Wed, 19 Mar 2008 19:52:37 +0000 (12:52 -0700)]
BUGFIX: Typo in one of the emails
fixed a small typo
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
Arun Persaud [Sat, 15 Mar 2008 23:44:58 +0000 (16:44 -0700)]
CLEANUP: more comments for index.php
managed to comment the code a bit more ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 14 Mar 2008 04:37:06 +0000 (21:37 -0700)]
BUGFIX: some stats should really be displayed as an average per game...fixed
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>
Arun Persaud [Wed, 12 Mar 2008 05:21:09 +0000 (22:21 -0700)]
NEW FEATURE: Ability to add personal notes for each game
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>
Arun Persaud [Mon, 3 Mar 2008 06:59:37 +0000 (22:59 -0800)]
BUGFIX: Score table in email displayed some html
had two str_replace functions in the wrong order, should be fixed now.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 2 Mar 2008 03:05:01 +0000 (19:05 -0800)]
FEATURE: display names of new players and last logged in players
instead of showing all registered players, just display the above.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 2 Mar 2008 02:07:05 +0000 (18:07 -0800)]
FEATURE: add score table to email at the end of the game
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>
Arun Persaud [Sun, 2 Mar 2008 00:56:01 +0000 (16:56 -0800)]
FEATURE: added a favicon
Lance made a nice favicon for edoko. So here it is ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Fri, 29 Feb 2008 07:01:08 +0000 (23:01 -0800)]
BUGFIX: link to wiki wasn't in the config file, added link on the home page
* 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>
Arun Persaud [Sun, 6 Jan 2008 19:01:25 +0000 (20:01 +0100)]
BUGFIX: show that is is your turn after a new game has been created
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>
Arun Persaud [Sun, 6 Jan 2008 18:49:04 +0000 (19:49 +0100)]
NEW FEATURE: show the time a game took at the end of the game
display time in hours together with total points.
Signed-off-by: Arun Persaud <arun@nubati.net>
Arun Persaud [Sun, 6 Jan 2008 18:27:54 +0000 (19:27 +0100)]
BUGFIX: people can't start new games unless they are part of it
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>
Arun Persaud [Sat, 5 Jan 2008 21:43:53 +0000 (22:43 +0100)]
CLEANUP: started rewrite of pre-game phase, fixed 'start' section
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>
Arun Persaud [Sat, 5 Jan 2008 21:24:10 +0000 (22:24 +0100)]
BUGFIX: didn't set next player correctly during startup
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>
Arun Persaud [Sat, 5 Jan 2008 21:08:17 +0000 (22:08 +0100)]
NEW FEATURE: show Vorbehalte in each game
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>
Arun Persaud [Thu, 3 Jan 2008 13:01:44 +0000 (14:01 +0100)]
LAYOUT: new game and vorbehalt
added layout to display vorbehalte and also fixed layout for new games a bit
Arun Persaud [Thu, 3 Jan 2008 13:06:16 +0000 (14:06 +0100)]
BUGIFX: output was displayed twice
the login information was displayed twice, also formatted the output a bit nicer in html
Arun Persaud [Thu, 3 Jan 2008 12:52:28 +0000 (13:52 +0100)]
BUGIFX: added Lance to copyright and changed to 2008
small changes in the footer
Arun Persaud [Mon, 31 Dec 2007 11:23:56 +0000 (12:23 +0100)]
BUGFIX: fixed some typos
just typos nothing more...
Arun Persaud [Wed, 19 Dec 2007 20:52:13 +0000 (21:52 +0100)]
BUGFIX: fixed some CSS issues for IE
never tried out IE before ;) fixed some small things, so that it looks a bit nicer on IE
Arun Persaud [Mon, 17 Dec 2007 09:17:50 +0000 (10:17 +0100)]
BUGFIX: use of local web links now possible
before I used a lot of http:// requests although the files were in the
same domain, now local links with absolute paths are used.
Arun Persaud [Sun, 16 Dec 2007 23:44:09 +0000 (00:44 +0100)]
BUGFIX: local time should now work correctly
had to reset the timezone to the local time. added a config parameter to store the local timezone.
Arun Persaud [Sun, 16 Dec 2007 22:50:35 +0000 (23:50 +0100)]
LAYOUT: last login and logout text where displayed incorrectly sometimes
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.
Arun Persaud [Sun, 16 Dec 2007 17:33:25 +0000 (18:33 +0100)]
BUGFIX: added indecis to tables for faster lookup
this should make the database part a bit faster. not quit sure if this is
the correct way of doing it though :)
Arun Persaud [Sun, 16 Dec 2007 13:54:06 +0000 (14:54 +0100)]
BUGFIX: time display used wrong timezones. also optimized things a bit
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.
Arun Persaud [Fri, 14 Dec 2007 14:33:49 +0000 (15:33 +0100)]
BUGFIX: wrong SQL query for min and max time of games
the wrong time was shown for the minimum game
Arun Persaud [Fri, 14 Dec 2007 11:07:39 +0000 (12:07 +0100)]
LAYOUT: made login/logout message in stats.php look nicer
title says it all ;)
Arun Persaud [Fri, 14 Dec 2007 11:01:01 +0000 (12:01 +0100)]
NEW FEATURE: display longest session, display shortest games in hours
also name players a bit more often.
Arun Persaud [Fri, 14 Dec 2007 10:41:47 +0000 (11:41 +0100)]
BUGIFX: sort game list by session in user menu
if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
Arun Persaud [Fri, 7 Dec 2007 15:52:48 +0000 (16:52 +0100)]
NEW FEATURE: list game points in last email
add a few lines to show the total amount of game points for this game in the email
that gets send out
Arun Persaud [Fri, 7 Dec 2007 15:31:50 +0000 (16:31 +0100)]
BUGFIX: the number of extra points per Game where not calculated on a per Game base, but all Games where added up
fixed now
Arun Persaud [Fri, 7 Dec 2007 15:16:22 +0000 (16:16 +0100)]
LAYOUT: fixed some typos, changed CSS a bit
the linebreak for displaying the tricks should be gone now.
Fixed also quite a few other small things at the same time.
Arun Persaud [Sun, 2 Dec 2007 18:05:15 +0000 (19:05 +0100)]
NEW FEATURE: make stastitic page accessable
created a link from the user menu to the stats.php page
Arun Persaud [Sun, 2 Dec 2007 16:38:01 +0000 (17:38 +0100)]
NEW FEATURE: detailed few of the score of one game
display each of the points re and contra made during the game.
At the moment only the names from the database are used.
Arun Persaud [Sun, 2 Dec 2007 16:14:52 +0000 (17:14 +0100)]
BUGFIX: finished scoring algorithm
now all games are scored. Rules can be looked up in the wiki.
Arun Persaud [Tue, 27 Nov 2007 18:12:39 +0000 (19:12 +0100)]
BUGIX: games in a session were not ordered by date, but by id
when a game gets cancled new games use that game_id in the DB which can mess up the ordering of sessions. fixed now.
Arun Persaud [Thu, 8 Nov 2007 19:58:20 +0000 (20:58 +0100)]
NEW FEATURE: addicted people can turn of a lot of the email spam and just check online
all emails saying: it's your turn can be turned off now by a user preference
Arun Persaud [Sat, 3 Nov 2007 12:39:56 +0000 (13:39 +0100)]
NEW FEATURE: statistics page, version1
added a few statistics to an extra page, still not completely done, but already working
Arun Persaud [Fri, 2 Nov 2007 18:59:41 +0000 (19:59 +0100)]
BUGFIX: added a config.php template to the repository and updated the INSTALL files
Arun Persaud [Fri, 2 Nov 2007 10:23:45 +0000 (11:23 +0100)]
NEW FEATURE: count game points, partly done ;)
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
Arun Persaud [Wed, 31 Oct 2007 20:18:18 +0000 (21:18 +0100)]
CLEANUP: some small code cleanup
moved some css from inline to the style sheet, some linebreaks, etc.
Arun Persaud [Wed, 31 Oct 2007 20:07:59 +0000 (21:07 +0100)]
BUGFIX: player could select several vorbehalte at the same time
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)
Arun Persaud [Wed, 31 Oct 2007 09:45:28 +0000 (10:45 +0100)]
BUGFIX: no check for a followup game if someone else already started one
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.
Arun Persaud [Wed, 31 Oct 2007 09:29:54 +0000 (10:29 +0100)]
LAYOUT: moved more text during the setup into the middle
there was still a lot of text that wasn't aligned yet. Still not perfect, but much better than before ;)
Arun Persaud [Mon, 29 Oct 2007 19:29:42 +0000 (20:29 +0100)]
BUGFIX: when playing with both schweinchen
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.
Arun Persaud [Sun, 21 Oct 2007 01:28:56 +0000 (03:28 +0200)]
LAYOUT: improved the layout of the cards a bit
centered now in x, but not in y, therefore scaling doesn't work nicely yet
Arun [Tue, 9 Oct 2007 16:44:19 +0000 (18:44 +0200)]
CLEANUP: make html output a bit nicer
added some newlines and spaces
Arun [Tue, 9 Oct 2007 10:50:22 +0000 (12:50 +0200)]
LAYOUT: 1st round of changes to get rid of overlapping areas
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.