fixed showing re/contra call at beginning of game; allowed pre-game comments; DB...
authorArun Persaud <arun@nubati.net>
Sat, 4 Feb 2012 19:16:42 +0000 (11:16 -0800)
committerArun Persaud <apersaud@lbl.gov>
Sat, 4 Feb 2012 19:16:42 +0000 (11:16 -0800)
commit95231cf6650d277fc13f5c0e1c1a0e1bb9c30edb
tree730b3980d9eaad8a840ab11bac4f0a720ff7e757
parentaf2046f113109cc6ceaafcbce96377978e12c5a5
fixed showing re/contra call at beginning of game; allowed pre-game 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
create_database.sql
include/db.php
include/game.php
include/output.php
update_db.php