summaryrefslogtreecommitdiffstats
path: root/include/game.php
AgeCommit message (Collapse)AuthorFilesLines
2013-01-14BUGIFX: added some set_language functions, fixed some strings for ↵Arun Persaud1-1/+2
translation, fixed typo
2013-01-12TRANSLATION: marked more messages for translationArun Persaud1-2/+3
2013-01-12updated copyright for 2013Arun Persaud1-1/+1
2013-01-12fixed more language settings in email; marked more strings for translationArun Persaud1-33/+63
2012-12-31set languages can also be used by UID now; make mymail langauge sensitiveArun Persaud1-3/+2
mymail used to use the language of the person triggering the email.
2012-12-31improved language detection using browser information; set the language ↵Arun Persaud1-0/+1
directly in more places previously one had to reload to get the language correct, now it should be correct right away. We also read out the browser request for a language now.
2012-12-09BUGFIX: highlight of prev/next trick didn't work all the timeArun Persaud1-8/+8
used a string where I should have used an integer
2012-10-06starting to bootstrap the layout: navbar and tricksArun Persaud1-7/+7
- changing the tricks-selector to a paginator and fixing the js for highlighting - adding a navbar using bootstrap, probably should use .wrap more instead of adding divs to the code
2012-10-05BUGFIX: if not logged in, don't show link to last gameArun Persaud1-2/+3
This could be used to get the hash for a current game of a different user.
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