forked from ryanmpelletier/tank-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
72 lines (72 loc) · 1.49 KB
/
config.json
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
{
"port": 8080,
"maxLastHeartBeat": 5000,
"gameWidth": 2000,
"gameHeight": 2000,
"scoreBoardLength": 10,
"spawnAreaWidth": 500,
"spawnAreaHeight": 500,
"defaultKeysPressed": {
"KEY_UP": false,
"KEY_LEFT": false,
"KEY_DOWN": false,
"KEY_RIGHT": false,
"KEY_SPACE": false
},
"defaultMouseAngle": 0,
"defaultMouseClicked":false,
"wall": {
"width": 25,
"height": 25,
"count": 10,
"minDimension": 35,
"maxDimension": 400
},
"track": {
"width": 4,
"height": 10,
"maxSpatialHashSize": 500
},
"bullet": {
"width": 1,
"height": 1,
"velocity": 9,
"timeToLive": 2500
},
"tank": {
"width": 85,
"height": 85,
"normalSpeed": 4,
"boostFactor": 1.5,
"boostMaxCapacity": 100,
"barrelLength": 65,
"ammoCapacity": 4,
"fireTimeWait": 250,
"timeToGainAmmo": 1000
},
"screenName":{
"maxLength": 12,
"blacklist": [
"ass",
"bitch",
"bastard",
"boob",
"boobs",
"cock",
"cunt",
"damn",
"dick",
"fuck",
"nigga",
"nigger",
"penis",
"pussy",
"shit",
"titties",
"tits",
"tit",
"titty",
"whore"
]
}
}