Page 1 of 1

Hearts on test bed is broken

Posted: 15 January 2017, 02:46
by Cowseye
Hi guys,

I am trying to learn how to use the Deck tools.
The only reference I have is through Hearts but it seems that the copy currently available in studio is faulty.

http://en.studio.boardgamearena.com/#!g ... ame=hearts

After clicking Express Start, this is the error I get:

Parse error: syntax error, unexpected ';', expecting ')' in /var/tournoi/release/games/hearts/999999-9999/gameoptions.inc.php on line 37

Could someone please look into this?

Re: Hearts on test bed is broken

Posted: 15 January 2017, 16:39
by DrKarotte
The folders with the demo games are empty. Strange...

But concerning deck:
This documentation: http://en.studio.boardgamearena.com/#!doc/Deck is quite fine. I managed to get deck running in a blank game with that.

Re: Hearts on test bed is broken

Posted: 28 January 2017, 02:43
by Victoria_La
Hearts template has been broken for a while, there is a missing ')' somewhere
This is fixed version

Code: Select all

$game_options = array(

		100 => array(
				'name' => totranslate('Game length'),
				'values' => array(
						1 => array( 'name' => totranslate( 'Quick game (75 points)' ) ),
						2 => array( 'name' => totranslate( 'Standard game (100 points)') ),
				),
				'default' => 1
		) 

);
Btw My tutorials dissapeared as well from remote folder. If you have them - save them somewhere else before they gone.