-
Notifications
You must be signed in to change notification settings - Fork 0
/
gameoptions.inc.php
137 lines (132 loc) · 5.55 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
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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* Calypso implementation : © Andy Bond <[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
*
* Calypso 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 calypso.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('Standard, short - 1 round (4 hands)'),
'tmdisplay' => totranslate('Standard game'),
),
2 => array(
'name' => totranslate('Medium - 2 rounds (8 hands)'),
'tmdisplay' => totranslate('2 rounds'),
),
3 => array(
'name' => totranslate('Longer - 3 rounds (12 hands)'),
'tmdisplay' => totranslate('3 rounds'),
),
4 => array(
'name' => totranslate('Full rotation - 4 rounds (16 hands)'),
'description' => totranslate('4 rounds - everyone gets to be first player once'),
'tmdisplay' => totranslate('Full rotation'),
),
),
),
101 => array(
'name' => totranslate('Renounce indicators'),
'values' => array(
1 => array(
'name' => totranslate('Renounce indicators on'),
'description' => totranslate('Renounce indicators show suits that players have failed to follow suit to'),
),
2 => array(
'name' => totranslate('Renounce indicators off'),
'tmdisplay' => totranslate('Renounce indicators off'),
),
),
),
102 => array(
'name' => totranslate('Partnerships'),
'values' => array(
4 => array(
'name' => totranslate('Random'),
'description' => totranslate('Partnerships are allocated randomly')
),
1 => array(
'name' => totranslate('By table order - 1st and 3rd against 2nd and 4th'),
),
2 => array(
'name' => totranslate('By table order - 1st and 2nd against 3rd and 4th'),
),
3 => array(
'name' => totranslate('By table order - 1st and 4th against 2nd and 3rd'),
),
)
),
// I like it in Hungarian Tarokk as an option, so keep it here. Just like real life!
103 => array(
'name' => totranslate('Game log detail'),
'values' => array(
1 => array(
'name' => totranslate('All cards played are entered into the gamelog'),
'tmdisplay' => totranslate('Cards played in gamelog')
),
2 => array(
'name' => totranslate('Only trick winners are entered into the gamelog'),
'tmdisplay' => totranslate('Cards played not in gamelog')
),
)
),
);
# user preference options - just aesthetic stuff
$game_preferences = array(
100 => array(
'name' => totranslate('Table colour'),
'needReload' => true,
'values' => array(
1 => array( 'name' => totranslate( 'Purple' ), 'cssPref' => 'clp-up-purple' ),
2 => array( 'name' => totranslate( 'Yellow' ), 'cssPref' => 'clp-up-yellow' ),
3 => array( 'name' => totranslate( 'Red' ), 'cssPref' => 'clp-up-red' ),
4 => array( 'name' => totranslate( 'Green' ), 'cssPref' => 'clp-up-green' ),
5 => array( 'name' => totranslate( 'Blue' ), 'cssPref' => 'clp-up-blue' ),
6 => array( 'name' => totranslate( 'White' ), 'cssPref' => 'clp-up-white' ),
7 => array( 'name' => totranslate( 'Black' ), 'cssPref' => 'clp-up-black' ),
8 => array( 'name' => totranslate( 'Pink' ), 'cssPref' => 'clp-up-pink' ),
9 => array( 'name' => totranslate( 'Cyan' ), 'cssPref' => 'clp-up-cyan' ),
10 => array( 'name' => totranslate( 'Dark green' ), 'cssPref' => 'clp-up-darkgreen' ),
11 => array( 'name' => totranslate( 'Orange' ), 'cssPref' => 'clp-up-orange' ),
),
'default' => 1
),
101 => array(
'name' => totranslate('Card face style'),
'needReload' => true,
'values' => array(
1 => array( 'name' => totranslate('Standard two-colour'), 'cssPref' => 'clp-pack-standard' ),
2 => array( 'name' => totranslate('Four-colour'), 'cssPref' => 'clp-pack-four-colour' ),
),
'default' => 1
),
102 => array(
'name' => totranslate('Highlight playable cards'),
'needReload' => true,
'values' => array(
1 => array( 'name' => totranslate('Yes'), 'cssPref' => 'clp-cards-highlight-playable' ),
2 => array( 'name' => totranslate('No'), 'cssPref' => 'clp-cards-dont-highlight-playable' ),
),
'default' => 1
)
);