summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-10-21LAYOUT: improved the layout of the cards a bitArun Persaud1-89/+71
centered now in x, but not in y, therefore scaling doesn't work nicely yet
2007-10-09CLEANUP: make html output a bit nicerArun3-45/+45
added some newlines and spaces
2007-10-09LAYOUT: 1st round of changes to get rid of overlapping areasArun3-99/+109
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 emailArun3-5/+106
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 Persaud3-62/+59
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 Persaud4-51/+57
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 Persaud2-7/+13
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 Persaud4-6/+22
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 Persaud2-24/+40
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 Persaud3-91/+118
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 Persaud4-252/+302
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-28BUGFIX: use email reply address for sendingArun Persaud1-1/+4
the ini_set method didn't seem to work for some reason. Setting the From in the header does work though
2007-07-28CLEANUP: moved registration to seperate php fileArun Persaud3-70/+99
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 Persaud3-54/+77
moved error checking into a function and made working on the database a config.php option
2007-07-28BUGFIX: change link from svn to gitArun Persaud1-2/+2
updated footer to point to the new git repository
2007-07-20BUGFIX: reusing old randomnumbers didn't workArun Persaud1-5/+8
old numbers got reused, but more than once for the same people should be fixed now.
2007-07-18BUGFIX: using the recovery password to change your passwordArun Persaud2-1/+18
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 Persaud4-22/+108
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 Persaud5-41/+75
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-18NEW FEATURE: use a better random generatorArun Persaud1-1/+8
people complained about too many solos ;) so I changed from the standard php random generator to a better one. Not sure if that solves the problem though ;)
2007-07-17LAYOUT: fixed small bug, probably only showed up on small windowsArun Persaud1-7/+5
the session and the trick menu didn't use the full width of the screen, because they were cut off by the floating divs on the left
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 Persaud3-33/+97
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 Persaud2-11/+11
just a few small things
2007-06-28BUGFIX: reload during the setup could mess up the state machineArun Persaud2-19/+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 Persaud3-1/+1
new icons for trump solo and spade solo
2007-06-25BUGFIX: fixed bug in getting randomnumbers from a previous gameArun Persaud2-3/+3
DB querry was missing a column
2007-06-25CLEANUP: counting points, prepare for keeping track of game pointsArun Persaud4-150/+79
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 Persaud2-16/+21
$call wasn't added everywhere where a new ruleset was defined;
2007-06-24NEW FEATURE: added admin name and email address to be configurableArun Persaud2-12/+41
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-24CLEANUP: get card names from the databaseArun Persaud3-85/+16
2007-06-23NEW FEATURE: password recovery is now workingArun Persaud4-10/+173
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 Persaud23-13/+54
re/contra/120...0 and wedding now have icons
2007-06-19CLEANUP: code + text messagesArun Persaud3-65/+57
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 Persaud3-47/+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 Persaud3-3/+29
2007-06-17NEW FEATURE: reuse random numbers from old gamesArun Persaud3-3/+29
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-16code cleanupArun Persaud1-1/+0
2007-06-16added a missing .gitignore fileArun Persaud1-0/+1
added *~ (e.g. emacs backups) to gitignore
2007-06-12BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset ↵arun2-4/+4
in can_call had wrong sign
2007-06-07bugfix: typo in last commitarun1-1/+1
2007-06-07* FIX: added extra check for calling 120, etc. so that people can't cheatarun5-73/+165
* 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, etcarun2-7/+19