-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproperties.json
More file actions
43 lines (43 loc) · 2.3 KB
/
properties.json
File metadata and controls
43 lines (43 loc) · 2.3 KB
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
{
"header": {
"limits": {
"participants": { "min": 2, "max": 6 },
"teams": { "min": 2, "max": 6 },
"participantsPerTeam": { "min": 1, "max": 1 }
},
"replay": "/replay/"
},
"settings": {
"arena": {
"size": 15,
"threeDimensions": false,
"_meta": {
"size": { "min": 5, "max": null, "step": 2 }
}
},
"border": {
"noOuterBorder": false,
"movesPerArenaShrink": 0,
"shrinkMode": ["RandomPlacedWall_single", "RandomPlacedWall_fourSymmetry", "RandomPlacedWall_perWorm", "WallOuterArea"],
"_meta": {
"noOuterBorder": { "comment": { "message": "Snakes reappears on the opposite side when traveling through a border. Not compatible with WallOuterArea.", "width": "333px" } },
"movesPerArenaShrink": { "min": -1, "max": null, "step": 1, "comment": { "message": "How many moves the snakes can make before the playable area shrinks.<br>Special values:<br>-1: Disabled, area will not shrink.<br> 0: The playable area's current width. Shrinks faster and faster." } },
"shrinkMode": { "default": "WallOuterArea", "comment": { "message": "RandomPlacedWall_fourSymmetry not symmetric with arena.threeDimensions." } }
}
},
"rules": {
"startLength": 1,
"apples": ["AppleLess", "Single", "FourSymmetry", "FourRandom_asymmetric", "OneRandomPerWorm_asymmetric"],
"defeatedWorms": ["Disappears", "Eatable", "Solid"],
"winner": ["LastWormStanding", "MostPoints"],
"bonusToLonger": false,
"_meta": {
"startLength": { "min": 1, "max": null, "step": 1 },
"apples": { "default": "FourSymmetry", "comment": { "message": "<b>AppleLess:</b><br>Sets rules.startLength to infinity and border.movesPerArenaShrink to -1.<br><b>FourSymmetry:</b><br>When one is eaten, all get renewed.<br><b>FourRandom_asymmetric:</b><br>When one is eaten, all get renewed.<br><b>OneRandomPerWorm_asymmetric:</b><br>When one is eaten, only it get renewed." } },
"defeatedWorms": { "default": "Eatable" },
"winner": { "default": "LastWormStanding", "comment": { "message": "<b>Note:</b><br><i>MostPoints</i> is locked to <code>defeatedWorms:Solid</code>, due to otherwise last standing worm could play safe and collect eatables once its' opponents are gone." } },
"bonusToLonger": { "comment": { "message": "If two worms score equal, bonus point is dealt to the longer worm." } }
}
}
}
}