summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
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
2007-05-16found a bug in the shuffling routinearun1-1/+1
2007-04-25fix: hash collision after a game has been cancled and the gameid is being ↵arun1-4/+5
reused.
2007-04-22debugging was on for creating the hands -> no random numbersarun1-0/+1
2007-04-14some more testing and bugfixesarun1-13/+12
2007-04-12poverty should work now! added german card deck, tons of small fixesarun1-97/+331
2007-04-11lots of small fixes and cleanuparun1-111/+157
2007-04-10added email to first player at the beginning of the game; fixed small layout ↵arun1-52/+86
issue
2007-04-10removed one debug message; added timestamp update for game when playing a cardarun1-2/+4
2007-04-09minor cleanuparun1-2/+8
2007-04-09more cleanuparun1-2/+2
2007-04-08more cleanup, the layout for the pre game stuff is now probably broken:(arun1-3/+3
2007-04-08cleaned up the interface a bitarun1-30/+35
2007-04-08fixed & in htmlarun1-1/+1