summaryrefslogtreecommitdiffstats
path: root/include/game.php
AgeCommit message (Collapse)AuthorFilesLines
2012-09-22BUGIFX: leaked silent solo information in game typeArun Persaud1-1/+4
2012-09-17CLEANUP: replaced " with ' in lots of places'; added admin email to error ↵Arun Persaud1-130/+124
message
2012-09-17mark more strings for translationArun Persaud1-7/+7
2012-09-17BUGFIX: update status (healthy/sick) during pre-game phase right awayArun Persaud1-73/+71
before a reload was needed, no the information only gets displayed after the user data is being processed.
2012-06-09CLEANUP: name variables in a more consistent wayArun Persaud1-22/+22
2012-05-09BUGFIX: gametype was displayed in pre-phase of the gameArun Persaud1-1/+1
This could give away the type of sickness a player has
2012-05-08BUGFIX: move some text into the message boxArun Persaud1-1/+1
2012-05-08BUGFIX: removed side effect from getting the user's preferences: the ↵Arun Persaud1-0/+3
language used could be overwritten by another user's choise the DB_get_Prefs($myid) functions used to set the _SESSION variable for the language, but was also called with ids that belonged to other players overwriting the language settings with that from another user
2012-05-08BUGFIX: a typo in the variable name card_status triggered some error messages.Arun Persaud1-21/+8
fixed the typo and cleaned up the code a bit with a better default for the variable
2012-05-08fixed typo in commentArun Persaud1-1/+1
2012-02-19BUGFIX: if you win a trick, you don't have to reload the page from now on.Arun Persaud1-1/+3
added a check if the player won the trick, if so, show radiobuttons next to cards to select new one. Also needed to unset firstcard when winning the trick, since without it follow suite was still working with regards to the first card in the last trick.
2012-02-10updated copyright notice for 2012Arun Persaud1-1/+1
2012-02-04fixed showing re/contra call at beginning of game; allowed pre-game ↵Arun Persaud1-61/+115
comments; DB upgrade the problem with re/contra at the beginning of a game was that no playid was set yet, so we couldn't record when the call was made. Added two special playid (-1 and -2), for pre-game comments and re/contra calls before the first card is played. For this we need to record the gameid in the comment table => DB update
2011-11-19BUGFIX: added special section for vorbehalte (needs to be in div ↵Arun Persaud1-24/+65
class=middle in the new layout)
2011-11-19LAYOUT, BUGFIX: don't show current game in "it's your turn" list, also fix ↵Arun Persaud1-2/+2
layout for this on newgame.php
2011-11-16BUGFIX: fixed undefined variable when displaying tricks menuArun Persaud1-0/+1
2011-11-15LAYOUT: use html5 buttons for prev/next for the tricksArun Persaud1-2/+2
2011-11-15LAYOUT: redone layout of table and cardsArun Persaud1-92/+125
scales a lot better now and should be better for mobile devices
2011-11-14LAYOUT: moved game status to top; cleaned up some cssArun Persaud1-29/+24
2011-11-13CLEANUP: fixed html output a bitArun Persaud1-2/+2
added whitespaces and line breaks
2011-11-13LAYOUT: moved output of all game message after the tricks and tableArun Persaud1-42/+56
this should make the html layout more consistent and easier to manage for different screen sizes, e.g. for mobile phones
2011-11-13LAYOUT: move display of cards below switch for mystatusArun Persaud1-152/+154
This should make for a more consistent html layout and fix some issues that show up on different browsers and display sizes.
2011-11-13CLEANUP: added some comments, renamed some variables, moved a tiny bit of codeArun Persaud1-96/+97
2011-10-07fixed some html source code alignement and moved the games table, so it's ↵Arun Persaud1-18/+21
flush left with the rest of the test
2011-10-06make list of tricks and what game and session we are more compact.Arun Persaud1-9/+9
Also add game type in description for all games, but "normal" ones (which should include silent solos
2011-10-06started on better mobile supportArun Persaud1-10/+10
some changes in order of HTML, but mostly CSS
2011-03-20CLEANUP: added gameid to mymail and generate subject line in mymail directlyArun Persaud1-23/+12
this way it will be easier to add translation and also to add the gameid into the database for the digest
2011-02-21LAYOUT: fixed message area showing up in the wrong place during poverty setupArun Persaud1-0/+1
2011-02-21BUGFIX: don't show schweinchen in poverty games during pre-game phaseArun Persaud1-0/+3
after exchanging cards schweinchen was shown during the pre-game phase
2010-11-21fixed one bugs in the scoring algorithmArun Persaud1-15/+15
* no "call-x" points where given if "0" was called
2010-11-21fixe placement of comment box in pre-game phaseArun Persaud1-0/+8
it now always shows at the bottom of the page as it should ;)
2010-09-22BUGFIX: fixed last commitArun Persaud1-3/+4
2010-09-21NEW FEATURE: pre select card to play if there is only one optionArun Persaud1-1/+33
2010-06-25BUGIFX: when playing a silent solo the "pre" trick showed up in the list of ↵Arun Persaud1-10/+12
tricks since now sickness was shown in the pre trick this gave away silent solo, although I think nobody noticed up to now ;) Should be fixed now by checking for silent solo correctly (a non-function if-statement was already in the code)
2010-04-19moved gameinfo box (calls, comment-input, submit, games player by otheres) ↵Arun Persaud1-11/+21
to the bottom of the page this should make it easier for people with a mobile phone.
2010-04-17marked more strings for translationArun Persaud1-8/+8
2010-04-17marked more strings for translationArun Persaud1-26/+26
2010-03-18marked more strings for translationArun Persaud1-16/+16
2010-03-14marked more strings for translationArun Persaud1-6/+6
2010-03-14CLEANUP: cleaned up code for KarlchenArun Persaud1-19/+22
2010-03-13BUGFIX: missing ul-tag in poverty check messed up layoutArun Persaud1-5/+5
also removed some div-tags that were not needed
2010-03-13NEW FEATURE: having only low trump (fox and below) can now be a VorbehaltArun Persaud1-31/+67
The low trump can either be treated as poverty or similar to 5 nines, that is the game is canceled unless someone plays a solo. Also minor code cleanup.
2010-03-04BUGFIX: show "It's your turn in these games" menu also when you played the ↵Arun Persaud1-3/+13
last card in a game When showing the menu we test for the status the user had before he played the card. This fixes Issue #35.
2010-02-06added copyright notice and GPL referenceArun Persaud1-0/+19
2010-02-04BUGFIX: show correct name of all players, when looking at games of other playersArun Persaud1-1/+9
the name of the player who had the same cards wasn't displayed, instead "your cards where" was shown.
2010-02-04BUGFIX: timestamp was not always updated when user made a moveArun Persaud1-4/+10
this happend when the user wasn't logged in, but made a move by using an email link for example. Should be fixed now.
2010-02-02highlight the call if this is the last round where you can make this callArun Persaud1-3/+16
also added some more comments
2009-07-24BUGFIX: html output was messed up by some return statementsArun Persaud1-5/+6
instead of using return, we now use a break, this has the advantage that extra output (such as menus) will still be present and the html should be ok.
2009-07-21BUFIX: fixed a typoArun Persaud1-2/+2
2009-06-24display both foxes as playable, if the game doesn't allow schweinche, but ↵Arun Persaud1-6/+12
the rules do in case you play with a single schweinchen (only the second one becomes highest trump), but the game doesn't allow schweinchen (e.g. queen solo), both foxes should be selectable, but only one was. Fixes issue #53