summaryrefslogtreecommitdiffstats
path: root/functions.php
AgeCommit message (Collapse)AuthorFilesLines
2007-06-25BUGFIX: fixed bug in getting randomnumbers from a previous gameArun Persaud1-1/+1
DB querry was missing a column
2007-06-25CLEANUP: counting points, prepare for keeping track of game pointsArun Persaud1-66/+0
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-24NEW FEATURE: added admin name and email address to be configurableArun Persaud1-3/+11
email and name can be defined in config.php. Errors are send to that email address.
2007-06-24CLEANUP: get card names from the databaseArun Persaud1-81/+0
2007-06-17Merge branch 'dealing-reuse'Arun Persaud1-2/+13
2007-06-17NEW FEATURE: reuse random numbers from old gamesArun Persaud1-2/+13
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-12BUGFIX: adding a new game had a bug in the INSERT statement; wedding offset ↵arun1-1/+1
in can_call had wrong sign
2007-06-07* FIX: added extra check for calling 120, etc. so that people can't cheatarun1-1/+1
* 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-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-2/+43
outdated
2007-05-22feature: added link to game in final email, CC'ed people in final emailarun1-3/+9
2007-05-21fixed bug in shuffle functionarun1-17/+14
2007-05-17wedding should work now, started working on calling 120/90/60/30/0, small ↵arun1-8/+17
bugfixes
2007-05-16found a bug in the shuffling routinearun1-1/+1
2007-04-22debugging was on for creating the hands -> no random numbersarun1-9/+11
2007-04-12poverty should work now! added german card deck, tons of small fixesarun1-3/+25
2007-02-12foxes should now work correctlyarun1-13/+41
2007-02-08* rewrote checking for sickness, the player now sees a nice summary before ↵arun1-98/+106
getting to the table... * wedding is now announced * for solo and normal games, re and contra are assigned correctly * the score for re and contra is computed at the end * used one variable $CARDS instead of several global ones e.g. $CARDS["trump"] instead of $TRUMP
2007-02-07fixed: bug in routine to figure out the next playerarun1-15/+56
added rulesets (change in database): at the beginning of a game differnt rules can be chosen
2007-01-16fixed the new sorting algorithmarun1-13/+9
2007-01-16new sort function; should sorrt correctly for solos,etcarun1-0/+20
2007-01-12some small bugfixesarun1-2/+2
2007-01-12added email to all players, in case someone cancled the game at the beginningarun1-1/+0
2007-01-12server keeps score now, several small bugfixesarun1-1/+1
2007-01-10added list of finished games to user pagearun1-2/+1
2007-01-08FEATURE: added solo and now you also can only play cards that are valid on a ↵arun1-137/+201
trick
2007-01-04bugfix: names and table show up all the time now;arun1-7/+51
2006-12-21fixed a lot of bugs, started to work on solos, moved some stuff to output.phparun1-27/+112
2006-12-19started on adding support for different solo games (modified get_winner a ↵arun1-37/+55
tiny bit)...still needs work
2006-12-15added a new php file for html output onlyarun1-136/+0
2006-12-13 a bit more cleanup in the layoutarun1-6/+6
2006-12-13added two new features: local time and a link to the user pagearun1-1/+1
2006-12-12players should get emails again, if it is there turnarun1-0/+15
2006-12-12added a config file (not under VC)arun1-16/+0
2006-12-12small bugfixes to get comments for examples comments workingarun1-2/+2
2006-12-11added timezone for .nzarun1-0/+3
2006-12-08bugfix? game entry wasn't added to DB, hope it is fixed nowarun1-1/+1
2006-12-08added timezone for berkeleyarun1-0/+3
2006-12-08added local time outputarun1-0/+14
2006-12-08 basic user page, list available users and link to start a new gamearun1-1/+1
2006-12-07tables seems to be case sensitive on dreamhost...fixed itarun1-1/+1
2006-12-07new database backend... kind of workingarun1-0/+434