Exemplo n.º 1
0
 *
 * MarcoPolo game statistics description
 *
 */
/*
    In this file, you are describing game statistics, that will be displayed at the end of the
    game.
    !! After modifying this file, you must use "Reload  statistics configuration" in BGA Studio backoffice
    ("Control Panel" / "Manage Game" / "Your Game")
    There are 2 types of statistics:
    _ table statistics, that are not associated to a specific player (ie: 1 value for each game).
    _ player statistics, that are associated to each players (ie: 1 value for each player in the game).

    Statistics types can be "int" for integer, "float" for floating point values, and "bool" for boolean
    Once you defined your statistics there, you can start using "initStat", "setStat" and "incStat" method
    in your game logic, using statistics names defined below.
    !! It is not a good idea to modify this file when a game is running !!

    If your game is already public on BGA, please read the following before any change:
    http://en.doc.boardgamearena.com/Post-release_phase#Changes_that_breaks_the_games_in_progress
    Notes:
    * Statistic index is the reference used in setStat/incStat/initStat PHP method
    * Statistic index must contains alphanumerical characters and no space. Example: 'turn_played'
    * Statistics IDs must be >=10
    * Two table statistics can't share the same ID, two player statistics can't share the same ID
    * A table statistic can have the same ID than a player statistics
    * Statistics ID is the reference used by BGA website. If you change the ID, you lost all historical statistic data. Do NOT re-use an ID of a deleted statistic
    * Statistic name is the English description of the statistic as shown to players
*/
$stats_type = array("table" => array("turns_number" => array("id" => 10, "name" => totranslate("Number of turns"), "type" => "int")), "player" => array("turns_number" => array("id" => 10, "name" => totranslate("Number of turns"), "type" => "int")));
Exemplo n.º 2
0
/**
 *------
 * BGA framework: © Gregory Isabelli <*****@*****.**> & Emmanuel Colin <*****@*****.**>
 * Hearts implementation : © Gregory Isabelli <*****@*****.**>
 *
 * This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
 * See http://en.boardgamearena.com/#!doc/Studio for more information.
 * -----
 *
 * stats.inc.php
 *
 * Hearts game statistics description
 *
 */
/*
    In this file, you are describing game statistics, that will be displayed at the end of the
    game.
    
    There are 2 types of statistics:
    _ table statistics, that are not associated to a specific player (ie: 1 value for each game).
    _ player statistics, that are associated to each players (ie: 1 value for each player in the game).

    Statistics types can be "int" for integer, and "float" for floating point values.
    
    Once you defined your statistics there, you can start using "initStat", "setStat" and "incStat" method
    in your game logic, using statistics names defined below.
*/
//   !! It is not a good idea to modify this file when a game is running !!
$stats_type = array("table" => array("handNbr" => array("id" => 10, "name" => totranslate("Number of hands"), "type" => "int")), "player" => array("getQueenOfSpade" => array("id" => 10, "name" => totranslate("Get the Queen of Spade during a hand"), "type" => "int"), "getHearts" => array("id" => 11, "name" => totranslate("Total heart cards collected"), "type" => "int"), "getAllPointCards" => array("id" => 12, "name" => totranslate("Get all hearts + Queen of Spade"), "type" => "int"), "getNoPointCards" => array("id" => 13, "name" => totranslate("Get no cards with ponts during a hand"), "type" => "int")));
Exemplo n.º 3
0
 *
 * aknile game statistics description
 *
 */
/*
    In this file, you are describing game statistics, that will be displayed at the end of the
    game.
    !! After modifying this file, you must use "Reload  statistics configuration" in BGA Studio backoffice ("Your game configuration" section):
    http://en.studio.boardgamearena.com/admin/studio
    There are 2 types of statistics:
    _ table statistics, that are not associated to a specific player (ie: 1 value for each game).
    _ player statistics, that are associated to each players (ie: 1 value for each player in the game).

    Statistics types can be "int" for integer, "float" for floating point values, and "bool" for boolean
    Once you defined your statistics there, you can start using "initStat", "setStat" and "incStat" method
    in your game logic, using statistics names defined below.
    !! It is not a good idea to modify this file when a game is running !!

    If your game is already public on BGA, please read the following before any change:
    http://en.doc.boardgamearena.com/Post-release_phase#Changes_that_breaks_the_games_in_progress
    Notes:
    * Statistic index is the reference used in setStat/incStat/initStat PHP method
    * Statistic index must contains alphanumerical characters and no space. Example: 'turn_played'
    * Statistics IDs must be >=10
    * Two table statistics can't share the same ID, two player statistics can't share the same ID
    * A table statistic can have the same ID than a player statistics
    * Statistics ID is the reference used by BGA website. If you change the ID, you lost all historical statistic data. Do NOT re-use an ID of a deleted statistic
    * Statistic name is the English description of the statistic as shown to players
*/
$stats_type = array("table" => array("turns_number" => array("id" => 10, "name" => totranslate("Number of turns"), "type" => "int")), "player" => array("turns_number" => array("id" => 10, "name" => totranslate("Number of turns"), "type" => "int"), "papyrus_number" => array("id" => 11, "name" => totranslate("Papyrus in storage"), "type" => "int"), "wheat_number" => array("id" => 12, "name" => totranslate("Wheat in storage"), "type" => "int"), "lettuce_number" => array("id" => 13, "name" => totranslate("Lettuce in storage"), "type" => "int"), "castor_number" => array("id" => 14, "name" => totranslate("Castor in storage"), "type" => "int"), "flax_number" => array("id" => 15, "name" => totranslate("Flax in storage"), "type" => "int")));
Exemplo n.º 4
0
<?php

/**
 *------
 * BGA framework: © Gregory Isabelli <*****@*****.**> & Emmanuel Colin <*****@*****.**>
 * Tichu implementation : © Bryan McGinnis <*****@*****.**>
 *
 * This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
 * See http://en.boardgamearena.com/#!doc/Studio for more information.
 * -----
 *
 * gameoptions.inc.php
 *
 * Hearts game options description
 *
 * In this file, you can define your game options (= game variants).
 *
 * Note: If your game has no variant, you don't have to modify this file.
 *
 * Note²: All options defined in this file should have a corresponding "game state labels"
 *        with the same ID (see "initGameStateLabels" in emptygame.game.php)
 *
 * !! It is not a good idea to modify this file when a game is running !!
 *
 */
$game_options = array(100 => array('name' => totranslate('Game length'), 'values' => array(1 => array('name' => totranslate('Quick game (600 points)')), 2 => array('name' => totranslate('Standard game (1000 points)'))), 'default' => 2), 101 => array('name' => totranslate('Grand Tichu'), 'values' => array(2 => array('name' => totranslate('No'))), 'default' => 2));