-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaterial.inc.php
68 lines (61 loc) · 1.43 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
<?php
/**
*------
* BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
* heartsjephly implementation : © <Your name here> <Your email address here>
*
* 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.
* -----
*
* material.inc.php
*
* heartsjephly game material description
*
* Here, you can describe the material of your game with PHP variables.
*
* This file is loaded in your game logic class constructor, ie these variables
* are available everywhere in your game logic code.
*
*/
/*
Example:
$this->card_types = array(
1 => array( "card_name" => ...,
...
)
);
*/
$this->suits = array(
1 => array(
'name' => clienttranslate('spade'),
'nametr' => self::_('spade'),
),
2 => array(
'name' => clienttranslate('heart'),
'nametr' => self::_('heart'),
),
3 => array(
'name' => clienttranslate('club'),
'nametr' => self::_('club'),
),
4 => array(
'name' => clienttranslate('diamond'),
'nametr' => self::_('diamond'),
),
);
$this->rank_labels = array(
2 => '2',
3 => '3',
4 => '4',
5 => '5',
6 => '6',
7 => '7',
8 => '8',
9 => '9',
10 => '10',
11 => clienttranslate('J'),
12 => clienttranslate('Q'),
13 => clienttranslate('K'),
14 => clienttranslate('A'),
);