-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
57 lines (57 loc) · 1.09 KB
/
config.js
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
module.exports = {
SquareType: {
UNKNOWN: 0,
REGULAR: 1,
BASE: 2,
TOWER: 3,
WATCHTOWER: 4,
RIVER: 5,
FLAG: 6,
},
UnitType: {
ATTACKER: 1,
DEFENDER: 2,
},
Costs: {
ATTACKER: 25,
DEFENDER: 100,
},
HP: {
ATTACKER: 1,
DEFENDER: 5,
},
Action: {
MOVE_DOWN: "move_down",
MOVE_UP: "move_up",
MOVE_LEFT: "move_left",
MOVE_RIGHT: "move_right"
},
playerSquareColors: ['red', 'blue', 'green', 'orange'],
RoomType: {
FFA: "ffa",
CUSTOM: "custom",
TUTORIAL: "tutorial"
},
GameType: {
CTF: "ctf",
DUEL: "duel"
},
LobbyState: {
CONNECTED: 1,
STARTING: 2,
FULL: 3,
NO_SESSION: 4
},
ClientStatus: {
CONNECTED: "connected",
RECONNECTING: "reconnecting",
DISCONNECTED: "disconnected"
},
ReadyType: {
NOT_READY: 0,
READY: 1,
PLAYING: 2
},
MaxMessageLength: 100,
AdminUsername: "SquareAdmin"
};