-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmaterial.inc.php
150 lines (144 loc) · 3.36 KB
/
material.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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* LetterTycoon implementation : © Jeff Raymakers <[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.
* -----
*
* This file is loaded in your game logic class constructor,
* so these variables are available everywhere in your game logic code.
*
*/
$this->goals = array(
2 => array('minimum' => 6, 'value' => 45),
3 => array('minimum' => 5, 'value' => 34),
4 => array('minimum' => 3, 'value' => 26),
5 => array('minimum' => 3, 'value' => 21),
);
$this->scores = array(
3 => array('money' => 1, 'stock' => 0),
4 => array('money' => 2, 'stock' => 0),
5 => array('money' => 3, 'stock' => 0),
6 => array('money' => 4, 'stock' => 1),
7 => array('money' => 6, 'stock' => 1),
8 => array('money' => 6, 'stock' => 2),
9 => array('money' => 6, 'stock' => 3),
10 => array('money' => 6, 'stock' => 4),
11 => array('money' => 6, 'stock' => 5),
12 => array('money' => 6, 'stock' => 6),
);
$this->letter_counts = array(
'A' => 9,
'B' => 2,
'C' => 2,
'D' => 4,
'E' => 12,
'F' => 2,
'G' => 3,
'H' => 4,
'I' => 9,
'J' => 1,
'K' => 1,
'L' => 4,
'M' => 2,
'N' => 6,
'O' => 8,
'P' => 2,
'Q' => 1,
'R' => 6,
'S' => 6,
'T' => 6,
'U' => 4,
'V' => 2,
'W' => 2,
'X' => 1,
'Y' => 2,
'Z' => 1,
);
$this->letter_types = array(
'A' => 'vowel',
'B' => 'consonant',
'C' => 'consonant',
'D' => 'consonant',
'E' => 'vowel',
'F' => 'consonant',
'G' => 'consonant',
'H' => 'consonant',
'I' => 'vowel',
'J' => 'consonant',
'K' => 'consonant',
'L' => 'consonant',
'M' => 'consonant',
'N' => 'consonant',
'O' => 'vowel',
'P' => 'consonant',
'Q' => 'consonant',
'R' => 'consonant',
'S' => 'consonant',
'T' => 'consonant',
'U' => 'vowel',
'V' => 'consonant',
'W' => 'consonant',
'X' => 'consonant',
'Y' => 'consonant_or_vowel',
'Z' => 'consonant',
);
$this->patent_costs = array(
'A' => 8,
'B' => 2,
'C' => 3,
'D' => 4,
'E' => 10,
'F' => 3,
'G' => 3,
'H' => 5,
'I' => 7,
'J' => 2,
'K' => 2,
'L' => 4,
'M' => 3,
'N' => 7,
'O' => 7,
'P' => 3,
'Q' => 2,
'R' => 6,
'S' => 6,
'T' => 8,
'U' => 3,
'V' => 2,
'W' => 3,
'X' => 2,
'Y' => 3,
'Z' => 2,
);
$this->patent_text = array(
'A' => '',
'B' => self::_('Earn double if your word begins and ends in vowels.'),
'C' => '',
'D' => '',
'E' => '',
'F' => '',
'G' => '',
'H' => '',
'I' => '',
'J' => self::_('Earn double if vowels are at least half of your word.'),
'K' => self::_('Earn double if your word has only one vowel.'),
'L' => '',
'M' => '',
'N' => '',
'O' => '',
'P' => '',
'Q' => self::_('You may replace a card to start your turn.'),
'R' => '',
'S' => '',
'T' => '',
'U' => '',
'V' => self::_('You may build two words.'),
'W' => '',
'X' => self::_('You may use one letter card twice.'),
'Y' => '',
'Z' => self::_('You may add an ‘S’ to the end of your word.'),
);