generated from BattlesnakeOfficial/starter-snake-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexampleMoveReq.json
88 lines (88 loc) · 1.9 KB
/
exampleMoveReq.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"game": {
"id": "totally-unique-game-id",
"ruleset": {
"name": "standard",
"version": "v1.1.15",
"settings": {
"foodSpawnChance": 15,
"minimumFood": 1,
"hazardDamagePerTurn": 14
}
},
"map": "standard",
"source": "league",
"timeout": 500
},
"turn": 14,
"board": {
"height": 11,
"width": 11,
"food": [
{ "x": 5, "y": 5 },
{ "x": 9, "y": 0 },
{ "x": 2, "y": 6 }
],
"hazards": [{ "x": 3, "y": 2 }],
"snakes": [
{
"id": "snake-508e96ac-94ad-11ea-bb37",
"name": "My Snake",
"health": 54,
"body": [
{ "x": 0, "y": 0 },
{ "x": 1, "y": 0 },
{ "x": 2, "y": 0 }
],
"latency": "111",
"head": { "x": 0, "y": 0 },
"length": 3,
"shout": "why are we shouting??",
"customizations": {
"color": "#FF0000",
"head": "pixel",
"tail": "pixel"
}
},
{
"id": "snake-b67f4906-94ae-11ea-bb37",
"name": "Another Snake",
"health": 16,
"body": [
{ "x": 5, "y": 4 },
{ "x": 5, "y": 3 },
{ "x": 6, "y": 3 },
{ "x": 6, "y": 2 }
],
"latency": "222",
"head": { "x": 5, "y": 4 },
"length": 4,
"shout": "I'm not really sure...",
"customizations": {
"color": "#26CF04",
"head": "silly",
"tail": "curled"
}
}
]
},
"you": {
"id": "snake-508e96ac-94ad-11ea-bb37",
"name": "My Snake",
"health": 54,
"body": [
{ "x": 0, "y": 0 },
{ "x": 1, "y": 0 },
{ "x": 2, "y": 0 }
],
"latency": "111",
"head": { "x": 0, "y": 0 },
"length": 3,
"shout": "why are we shouting??",
"customizations": {
"color": "#FF0000",
"head": "pixel",
"tail": "pixel"
}
}
}