Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
made some very simple icons for displaying the rules
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
a call
to figure out who made the lower call, you need to compare the two calls, but for some
reason instead of comparing the two contra-calls, the contra call was compared to the re-call
which could make the algorithm belief that the contra-call was higher than it was.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
& should only be used in HTML output. Changed this a while ago, but seems like I missed one.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
cards exchanged during poverty show now up in the pre-game trick.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
Sean found this...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
right away
pre and next buttons were sometimes displayed in another line due to a missing end of a div and a li.
Selecting a sick/healthy only showed up after reloading.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
when you wrote a personal note on your turn, it got inserted into the database twice
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
used single quote instead of double quotes in lots of places
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
check at the beginning if a call was made, so that the information
is up to date when the output for the table is generated.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
you can now take notes also during the pre-game phase.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
& should replace & only in html output not in emails.
Signed-off-by: Arun Persaud <apersaud@lbl.gov>
|
|
removed more of the side layout into the top session bar. removed the list of games in a session and have it now accessable via the score table
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
sometimes an extra </li></div> was issued which messed up the HTML.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
uninitialized variable
changed the order and now everything should be fine.
Signed-off-by: Arun Persaud <arun@nubati.net>
|