-
Notifications
You must be signed in to change notification settings - Fork 3
/
gameoptions.inc.php
109 lines (106 loc) · 2.64 KB
/
gameoptions.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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* Coinche implementation : © Christophe Badoit <[email protected]>
*
* 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
*
* Coinche 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 coinche.game.php)
*
* !! It is not a good idea to modify this file when a game is running !!
*
*/
$game_options = [
100 => [
'name' => totranslate('Game length'),
'values' => [
1 => [
'name' => totranslate('Classic (2000 points)'),
],
2 => [
'name' => totranslate('Half-game (1000 points)'),
'tmdisplay' => totranslate('Half-game (1000 points)'),
],
],
],
101 => [
'name' => totranslate('Score type'),
'values' => [
1 => [
'name' => totranslate('Points + Bid'),
],
2 => [
'name' => totranslate('Bid only'),
'tmdisplay' => totranslate('Bid only'),
],
],
],
102 => [
'name' => totranslate('Teams'),
'values' => [
1 => [
'name' => totranslate('By table order (1rst/3rd versus 2nd/4th)'),
],
2 => [
'name' => totranslate('By table order (1rst/2nd versus 3rd/4th)'),
],
3 => [
'name' => totranslate('By table order (1rst/4th versus 2nd/3rd)'),
],
4 => ['name' => totranslate('At random')],
],
'default' => 1,
],
103 => [
'name' => totranslate('All trumps / No trumps'),
'values' => [
1 => [
'name' => totranslate('Enabled'),
],
2 => [
'name' => totranslate('Disabled'),
'tmdisplay' => totranslate('Without All trumps / No trumps'),
],
],
'default' => 1,
],
];
$game_preferences = [
100 => [
'name' => totranslate('Turn order'),
'needReload' => false,
'values' => [
1 => ['name' => totranslate('Clockwise')],
2 => ['name' => totranslate('Counterclockwise')],
],
],
101 => [
'name' => totranslate('Confirm Bid'),
'needReload' => false,
'values' => [
1 => ['name' => totranslate('No confirmation')],
2 => ['name' => totranslate('Bid confirmation')],
],
],
102 => [
'name' => totranslate('Cards style'),
'needReload' => false,
'values' => [
1 => ['name' => totranslate('French')],
2 => ['name' => totranslate('English')],
3 => ['name' => 'Snap'],
],
],
];