-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameinfos.inc.php
187 lines (142 loc) · 7.9 KB
/
gameinfos.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?php
/*
From this file, you can edit the various meta-information of your game.
Once you modified the file, don't forget to click on "Reload game informations" from the Control Panel in order in can be taken into account.
See documentation about this file here:
http://en.doc.boardgamearena.com/Game_meta-information:_gameinfos.inc.php
*/
$gameinfos = array(
// Name of the game in English (will serve as the basis for translation)
'game_name' => "Calypso",
// Game designer (or game designers, separated by commas)
'designer' => 'R. W. Willis, Kenneth Konstam',
// Game artist (or game artists, separated by commas)
'artist' => '',
// Year of FIRST publication of this game. Can be negative.
'year' => 1954,
// Game publisher (use empty string if there is no publisher)
'publisher' => '',
// Url of game publisher website
'publisher_website' => '',
// Board Game Geek ID of the publisher
'publisher_bgg_id' => 171,
// Board game geek ID of the game
'bgg_id' => 17103,
// Players configuration that can be played (ex: 2 to 4 players)
// starting with only four-player version - can worry about variants later if necessary
'players' => array( 4 ),
// Suggest players to play with this number of players. Must be null if there is no such advice, or if there is only one possible player configuration.
'suggest_player_number' => null,
// Discourage players to play with these numbers of players. Must be null if there is no such advice.
'not_recommend_player_number' => null,
// 'not_recommend_player_number' => array( 2, 3 ), // <= example: this is not recommended to play this game with 2 or 3 players
// Estimated game duration, in minutes (used only for the launch, afterward the real duration is computed)
'estimated_duration' => 30,
// Time in second add to a player when "giveExtraTime" is called (speed profile = fast)
'fast_additional_time' => 30,
// Time in second add to a player when "giveExtraTime" is called (speed profile = medium)
'medium_additional_time' => 40,
// Time in second add to a player when "giveExtraTime" is called (speed profile = slow)
'slow_additional_time' => 50,
// If you are using a tie breaker in your game (using "player_score_aux"), you must describe here
// the formula used to compute "player_score_aux". This description will be used as a tooltip to explain
// the tie breaker to the players.
// Note: if you are NOT using any tie breaker, leave the empty string.
//
// Example: 'tie_breaker_description' => totranslate( "Number of remaining cards in hand" ),
'tie_breaker_description' => "",
// If in the game, all losers are equal (no score to rank them or explicit in the rules that losers are not ranked between them), set this to true
// The game end result will display "Winner" for the 1st player and "Loser" for all other players
'losers_not_ranked' => true,
// Allow to rank solo games for games where it's the only available mode (ex: Thermopyles). Should be left to false for games where solo mode exists in addition to multiple players mode.
'solo_mode_ranked' => false,
// Game is "beta". A game MUST set is_beta=1 when published on BGA for the first time, and must remains like this until all bugs are fixed.
'is_beta' => 1,
// Is this game cooperative (all players wins together or loose together)
'is_coop' => 0,
// Language dependency. If false or not set, there is no language dependency. If true, all players at the table must speak the same language.
// If an array of shortcode languages such as array( 1 => 'en', 2 => 'fr', 3 => 'it' ) then all players at the table must speak the same language, and this language must be one of the listed languages.
// NB: the default will be the first language in this list spoken by the player, so you should list them by popularity/preference.
'language_dependency' => false,
// Complexity of the game, from 0 (extremely simple) to 5 (extremely complex)
'complexity' => 2,
// Luck of the game, from 0 (absolutely no luck in this game) to 5 (totally luck driven)
'luck' => 2,
// Strategy of the game, from 0 (no strategy can be setup) to 5 (totally based on strategy)
'strategy' => 3,
// Diplomacy of the game, from 0 (no interaction in this game) to 5 (totally based on interaction and discussion between players)
'diplomacy' => 1,
// standard colour options:
// yes
// default
#ffffff White
#008000 Green
#982fff Purple
#f07f16 Orange
// rest that are okay
#e94190 Pink
#0000ff Blue
#ff0000 Red
#000000 Black
// probably not
#ffa500 Yellow
#72c3b1 Cyan
// no
#bdd002 Khaki green (which is a shame)
#7b7b7b Gray
// Colors attributed to players
'player_colors' => array(
// default set
"ffffff", "008000", "982fff", "f07f16",
// and others that fit
"e94190", "0000ff", "ff0000", "000000",
),
// Favorite colors support : if set to "true", support attribution of favorite colors based on player's preferences (see reattributeColorsBasedOnPreferences PHP method)
// NB: this parameter is used only to flag games supporting this feature; you must use (or not use) reattributeColorsBasedOnPreferences PHP method to actually enable or disable the feature.
'favorite_colors_support' => true,
// When doing a rematch, the player order is swapped using a "rotation" so the starting player is not the same
// If you want to disable this, set this to true
'disable_player_order_swap_on_rematch' => false,
// Game interface width range (pixels)
// Note: game interface = space on the left side, without the column on the right
'game_interface_width' => array(
// Minimum width
// default: 740
// maximum possible value: 740 (ie: your game interface should fit with a 740px width (correspond to a 1024px screen)
// minimum possible value: 320 (the lowest value you specify, the better the display is on mobile)
'min' => 740,
// Maximum width
// default: null (ie: no limit, the game interface is as big as the player's screen allows it).
// maximum possible value: unlimited
// minimum possible value: 740
'max' => null
),
// Game presentation
// Short game presentation text that will appear on the game description page, structured as an array of paragraphs.
// Each paragraph must be wrapped with totranslate() for translation and should not contain html (plain text without formatting).
// A good length for this text is between 100 and 150 words (about 6 to 9 lines on a standard display)
'presentation' => array(
totranslate("Calypso is a somewhat forgotten card game, originating in Trinidad in the 1950s."),
totranslate("Described as combining elements of bridge and canasta, four players play in fixed partnerships,
with each player possessing their own personal trump suit."),
totranslate("Played with four identical fifty-two card packs,
the aim is to win tricks containing cards of their partnership's suits to complete Calypsos -
sequences of a single card of every rank in their suit, over the course of a round of four deals,
whilst attempting to prevent their opponents from doing the same."),
),
// Games categories
// You can attribute a maximum of FIVE "tags" for your game.
// Each tag has a specific ID (ex: 22 for the category "Prototype", 101 for the tag "Science-fiction theme game")
// Please see the "Game meta information" entry in the BGA Studio documentation for a full list of available tags:
// http://en.doc.boardgamearena.com/Game_meta-information:_gameinfos.inc.php
// IMPORTANT: this list should be ORDERED, with the most important tag first.
// IMPORTANT: it is mandatory that the FIRST tag is 1, 2, 3 and 4 (= game category)
'tags' => array( 1, 200, 23, 207 ),
//////// BGA SANDBOX ONLY PARAMETERS (DO NOT MODIFY)
// simple : A plays, B plays, C plays, A plays, B plays, ...
// circuit : A plays and choose the next player C, C plays and choose the next player D, ...
// complex : A+B+C plays and says that the next player is A+B
'is_sandbox' => false,
'turnControl' => 'simple'
////////
);