summaryrefslogtreecommitdiffstats
path: root/index.php
AgeCommit message (Collapse)AuthorFilesLines
2008-03-11NEW FEATURE: Ability to add personal notes for each gameArun Persaud1-1/+25
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>
2008-03-02BUGFIX: Score table in email displayed some htmlArun Persaud1-2/+2
had two str_replace functions in the wrong order, should be fixed now. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-01FEATURE: display names of new players and last logged in playersArun Persaud1-4/+12
instead of showing all registered players, just display the above. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-03-01FEATURE: add score table to email at the end of the gameArun Persaud1-0/+32
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>
2008-01-06BUGFIX: show that is is your turn after a new game has been createdArun Persaud1-14/+11
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>
2008-01-06NEW FEATURE: show the time a game took at the end of the gameArun Persaud1-0/+5
display time in hours together with total points. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-06BUGFIX: people can't start new games unless they are part of itArun Persaud1-118/+137
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>
2008-01-05CLEANUP: started rewrite of pre-game phase, fixed 'start' sectionArun Persaud1-23/+56
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>
2008-01-05BUGFIX: didn't set next player correctly during startupArun Persaud1-2/+4
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>
2008-01-05NEW FEATURE: show Vorbehalte in each gameArun Persaud1-0/+25
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>
2008-01-03BUGIFX: output was displayed twiceArun Persaud1-2/+0
the login information was displayed twice, also formatted the output a bit nicer in html
2008-01-03BUGFIX: fixed some typosArun Persaud1-16/+16
just typos nothing more...
2007-12-17BUGFIX: use of local web links now possibleArun Persaud1-30/+31
before I used a lot of http:// requests although the files were in the same domain, now local links with absolute paths are used.
2007-12-16LAYOUT: last login and logout text where displayed incorrectly sometimesArun Persaud1-5/+15
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.
2007-12-16BUGFIX: time display used wrong timezones. also optimized things a bitArun Persaud1-17/+0
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.
2007-12-07NEW FEATURE: list game points in last emailArun Persaud1-0/+24
add a few lines to show the total amount of game points for this game in the email that gets send out
2007-12-07LAYOUT: fixed some typos, changed CSS a bitArun Persaud1-8/+12
the linebreak for displaying the tricks should be gone now. Fixed also quite a few other small things at the same time.
2007-12-02NEW FEATURE: detailed few of the score of one gameArun Persaud1-0/+18
display each of the points re and contra made during the game. At the moment only the names from the database are used.
2007-12-02BUGFIX: finished scoring algorithmArun Persaud1-65/+111
now all games are scored. Rules can be looked up in the wiki.
2007-11-08NEW FEATURE: addicted people can turn of a lot of the email spam and just ↵Arun Persaud1-3/+17
check online all emails saying: it's your turn can be turned off now by a user preference
2007-11-08NEW FEATURE: statistics page, version1Arun Persaud1-4/+4
added a few statistics to an extra page, still not completely done, but already working
2007-11-02NEW FEATURE: count game points, partly done ;)Arun Persaud1-185/+354
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
2007-10-31CLEANUP: some small code cleanupArun Persaud1-6/+10
moved some css from inline to the style sheet, some linebreaks, etc.
2007-10-31BUGFIX: player could select several vorbehalte at the same timeArun Persaud1-69/+85
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)
2007-10-31BUGFIX: no check for a followup game if someone else already started oneArun Persaud1-0/+17
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.
2007-10-31LAYOUT: moved more text during the setup into the middleArun Persaud1-15/+16
there was still a lot of text that wasn't aligned yet. Still not perfect, but much better than before ;)
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