summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
2007-10-29BUGFIX: when playing with both schweinchenArun Persaud1-3/+3
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.
2007-10-09CLEANUP: make html output a bit nicerArun1-2/+2
added some newlines and spaces
2007-10-09LAYOUT: 1st round of changes to get rid of overlapping areasArun1-64/+65
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.
2007-10-08NEW FEATURE: send out reminder emailArun1-2/+59
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
2007-08-05BUGFIX: output call only after game started; move after game comments to ↵Arun Persaud1-15/+9
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.
2007-08-04LAYOUT: new user pageArun Persaud1-61/+45
mixed finished games, started games and games in progress into one table
2007-08-04LAYOUT: fixed some overlaying of boxes (but not all), made userpage a bit nicerArun Persaud1-29/+42
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 ;)
2007-07-29BUGFIX: order games by sessionArun Persaud1-4/+9
games are now ordered by sessions, also fixed a typo
2007-07-29BUGIFX+LAYOUT: gameids where still in the player menu; show table for new ↵Arun Persaud1-2/+9
game setup fixed last commit. for new games, the table is now shown and one can select the place people are sitting better.
2007-07-29LAYOUT: address game by session.gamenrArun Persaud1-24/+27
don't use gameid, but use session.gamenumber instead. needs this for tournaments later. new games will get a session number now by default.
2007-07-29LAYOUT: final score is displayed on the table; played card is displayed in trickArun Persaud1-52/+73
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.
2007-07-28LAYOUT: started work on new layoutArun Persaud1-199/+57
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
2007-07-28CLEANUP: moved registration to seperate php fileArun Persaud1-32/+0
started cleanup on index.php. trying to move as much out of index.php as possible to make it easier to read.
2007-07-28CLEANUP: working on database now a config.php optionArun Persaud1-35/+1
moved error checking into a function and made working on the database a config.php option
2007-07-18BUGFIX: using the recovery password to change your passwordArun Persaud1-1/+2
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
2007-07-18NEW FEATURE+BUGFIX: changed calling re/contraArun Persaud1-18/+3
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.
2007-07-18NEW FEATURE: use php sessionArun Persaud1-6/+33
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
2007-07-04BUGFIX: cards didn't show up anymore at the end of the gameArun Persaud1-1/+1
forgot to check in an if-clause if the player was still playing or if the game was already over
2007-07-01NEW FEATURE: allow multiple commentsArun Persaud1-27/+67
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
2007-06-29BUGFIX: final email didn't add up points for re/contraArun Persaud1-1/+1
had a wrong GROUP BY SQL statement in the code.
2007-06-28CLEANUP: make the code look a bit nicerArun Persaud1-10/+10
just a few small things
2007-06-28BUGFIX: reload during the setup could mess up the state machineArun Persaud1-13/+22
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.
2007-06-28BUGFIX: redeal in case of solo in tournament, add hint in case of 5 nines on ↵Arun Persaud1-7/+12
howto redeal
2007-06-25LAYOUT: updated icons from LanceArun Persaud1-1/+1
new icons for trump solo and spade solo
2007-06-25CLEANUP: counting points, prepare for keeping track of game pointsArun Persaud1-82/+72
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
2007-06-24BUGFIX: include $call in $rulesetArun Persaud1-14/+17
$call wasn't added everywhere where a new ruleset was defined;
2007-06-24NEW FEATURE: added admin name and email address to be configurableArun Persaud1-9/+30
email and name can be defined in config.php. Errors are send to that email address.
2007-06-24BUGFIX: displaying the player who has to move during setupArun Persaud1-74/+80
the server should now correctly dispaly who need to do a move during the setup.
2007-06-23NEW FEATURE: password recovery is now workingArun Persaud1-6/+76
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.
2007-06-23BUGFIX: typo for emails at the end of game; able to set return addressArun Persaud1-1/+5
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
2007-06-21LAYOUT: added icons from LanceArun Persaud1-13/+48
re/contra/120...0 and wedding now have icons
2007-06-19CLEANUP: code + text messagesArun Persaud1-61/+49
cleaned up the code and corrected some typos
2007-06-19NEW FEATURE: show all hands at the end of a gameArun Persaud1-0/+18
Now everyone can see all the cards at the end of a game.
2007-06-19BUGFIX: CC'ed on final game allowed to view different accountsArun Persaud1-30/+12
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.
2007-06-17Merge branch 'dealing-reuse'Arun Persaud1-1/+1
2007-06-17NEW FEATURE: reuse random numbers from old gamesArun Persaud1-1/+1
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 ;)
2007-06-12BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset ↵arun1-3/+3
in can_call had wrong sign
2007-06-07* FIX: added extra check for calling 120, etc. so that people can't cheatarun1-72/+127
* 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
2007-06-04bugfix: the gamenumber wasn't shown in all email subjectsarun1-5/+5
2007-06-04small fixes, typo, etcarun1-4/+12
2007-06-02added output of average time for a game on the homepagearun1-1/+8
2007-06-02BUGFIX: guess I should test again before commiting :)arun1-1/+1
2007-06-02new feature: added checks for re/contra/90 etc. ; fixed: some measages were ↵arun1-3/+7
outdated
2007-06-01 bugfix: last revision had some typos, fixed nowarun1-3/+3
2007-05-28added some more hints for what kind of game is happening at the table; cleanuparun1-16/+61
2007-05-22fix: missed a ;arun1-2/+2
2007-05-22feature: added link to game in final email, CC'ed people in final emailarun1-15/+54
2007-05-18more emails during poverty, game number is displayed in emailarun1-22/+77
2007-05-17problem with sql syntax: used a reserverd wordarun1-1/+1
2007-05-17wedding should work now, started working on calling 120/90/60/30/0, small ↵arun1-33/+156
bugfixes