diff options
author | Arun Persaud <arun@nubati.net> | 2007-06-29 19:18:51 +0200 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2007-07-18 22:53:13 -0700 |
commit | 35687ace49ce0b41b1380603513d1f04cd6b458f (patch) | |
tree | 7fdc8d2f9a63998b463812fe8e0452ddf8f71131 /output.php | |
parent | b5f096688faaebf7846b3e725e1bd2dd9251b203 (diff) | |
download | e-DoKo-35687ace49ce0b41b1380603513d1f04cd6b458f.tar.gz e-DoKo-35687ace49ce0b41b1380603513d1f04cd6b458f.tar.bz2 e-DoKo-35687ace49ce0b41b1380603513d1f04cd6b458f.zip |
NEW FEATURE+BUGFIX: changed calling re/contra
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.
Diffstat (limited to 'output.php')
-rw-r--r-- | output.php | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -240,6 +240,28 @@ function output_check_for_sickness($me,$mycards) return; } +function output_form_calls($me) +{ + if( can_call(120,$me) ) + echo " re/contra (120):". + " <input type=\"radio\" name=\"call120\" value=\"yes\" /> <br />"; + if( can_call(90,$me) ) + echo " 90:". + " <input type=\"radio\" name=\"call90\" value=\"yes\" /> <br />"; + if( can_call(60,$me) ) + echo " 60:". + " <input type=\"radio\" name=\"call60\" value=\"yes\" /> "; + if( can_call(30,$me) ) + echo " 30:". + " <input type=\"radio\" name=\"call30\" value=\"yes\" /> "; + if( can_call(0,$me) ) + echo " 0:". + " <input type=\"radio\" name=\"call0\" value=\"yes\" /> ". + " no call:". + " <input type=\"radio\" name=\"call0\" value=\"no\" /> "; +} + + function output_check_want_to_play($me) { ?> |