Age | Commit message (Collapse) | Author | Files | Lines |
|
Also add game type in description for all games, but "normal" ones (which should include silent solos
|
|
some changes in order of HTML, but mostly CSS
|
|
this way it will be easier to add translation and also to add the gameid into the database for the digest
|
|
|
|
after exchanging cards schweinchen was shown during the pre-game phase
|
|
* no "call-x" points where given if "0" was called
|
|
it now always shows at the bottom of the page as it should ;)
|
|
|
|
|
|
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)
|
|
to the bottom of the page
this should make it easier for people with a mobile phone.
|
|
|
|
|
|
|
|
|
|
|
|
also removed some div-tags that were not needed
|
|
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.
|
|
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.
|
|
|
|
the name of the player who had the same cards wasn't displayed, instead "your cards where" was shown.
|
|
this happend when the user wasn't logged in, but made a move by using an email link for example. Should be fixed now.
|
|
also added some more comments
|
|
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.
|
|
|
|
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
|
|
looked into issue#51 (everything was correct) and added some comments.
|
|
removed the hard-coded one.
|
|
only shows 0,1,few or many tricks, so that we don't give too much information away. Might adjust or change this in the future.
This addresses issues #11.
|
|
all emails now have a "\n\n" at the end of the message.
|
|
some email functions didn't use myemail, but used sendmail directly. This is now fixed and all emails should have the same header and footer.
|
|
deleting the games could result in the same people getting the same hand redealt over and over again.
By just keeping track of the hands in the game table, this problem should be gone.
Fixed issue #50.
|
|
and therefore had no class set, so they showed up somewhere on the page and messed
up the layout
|
|
provide a standard header and footer. Also prepare for emails to be send to the database for later delivery.
|
|
for the first game in a session there is no score to display yet, need
to check if the score variable is empty or not before I loop over it.
|
|
now you can see the cards that are exchanged during the pre-game setup.
Also added a "trump back" message in case trump has been given back.
|
|
every time a call is made (e.g. re/contra) a comment is added. So players can check when the call was made later
Fixes issue #12.
|
|
show the current score as the link to the score table
|
|
makes it easier to navigate through one session
|
|
makes it clear what you can call in a silent solo.
Fixes issue #41.
|
|
the bug where you couldn't click on the prev/next button shouldn't show up that often now, since that area is now a bit bigger, but the bug is still there...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a line break, made the score table look better
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot a ;
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
only sent out one email with links for everyone in it.
This is now possible, since it's ok for other people to visit games from another player.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
new rule that only allows Schweinchen in case one of the teammembers called re/contra.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
same hand
had to change a few things and check more often if people are logge in, so that for example
personal notes only show up when you are logged in and not when someone else is looking at your cards
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
forgot to add wedding to list of games that need to be checked for schweinchen.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
make "still needs to decide" two lines:wq
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
the total points and the game points for re/contra now only show up
on the "score" trick. This way they don't overlap with graphics when
looking at older tricks.
Signed-off-by: Arun Persaud <arun@nubati.net>
|