i start to follow the tutorial, but is very hard in the first steps...
I upload the gameinfo.inc changed (only after one hour, i found i must impose to reload it with a button in the game page... )
Ok... I insert the board style in the .css file, then the div id=board code in the .tpl file (TPL??? what means TPL??? why not html???).
I upload them, ok but when i start with the "start express" button a large number of error messages appears:
Errors are in the "reversi.game.php" file... but, sorry, who had change it? Sure NOT ME!
Tutorial says about a "blank" game: if is "blank", don't read the .php file... So, the errors are:
"Unexpected error: Wrong formatted data from gameserver 1 (method: createGame): JSON_ERROR_SYNTAX
Notice: Undefined index: player_colors in /var/tournoi/release/games/frankdimattutorial/999999-9999/frankdimattutorial.game.php on line 64
Warning: array_shift() expects parameter 1 to be array, null given in /var/tournoi/release/games/frankdimattutorial/999999-9999/frankdimattutorial.game.php on line 72
Notice: Undefined index: player_colors in /var/tournoi/release/games/frankdimattutorial/999999-9999/frankdimattutorial.game.php on line 77
Warning: Invalid argument supplied for foreach() in /var/tournoi/release/tournoi-230111-1000-gs/www/game/module/table/table.game.php on line 912
{"status":1,"data":true} (reference: GS0 19/01 00:53:03)
Thanks for reading and for appreciate suggests
Francesco