adding a sample JSON packet for reference

This commit is contained in:
Fraser Graham 2013-10-19 21:05:38 -07:00
parent fd13cb318a
commit 541e213c66

98
sample_packet.json Normal file
View File

@ -0,0 +1,98 @@
{
"robots": [
{
"id": "4e14dc385adf33d9bce2d414874145c1",
"name": "dummy",
"speed": 125.39998,
"health": -4,
"position": {
"x": 516.783,
"y": 208.91586
},
"heading": {
"x": 0.85863733,
"y": 0.5125836
},
"scanners": [
{
"id": "c587a06f01b891620135fa61908ad7f6",
"position": {
"x": 597.093,
"y": 223.92067
},
"stats": {}
}
]
},
{
"id": "508ea421408d11111a3dd2d048613fe6",
"name": "dummy",
"speed": 118.79998,
"health": 8,
"position": {
"x": 306.83942,
"y": 300.2151
},
"heading": {
"x": -0.7593777,
"y": -0.65065
},
"scanners": [
{
"id": "c587a06f01b891620135fa61908ad7f6",
"position": {
"x": 314.48,
"y": 266.2345
},
"stats": {}
}
]
},
{
"id": "c587a06f01b891620135fa61908ad7f6",
"name": "dummy",
"speed": 118.79998,
"health": 90,
"position": {
"x": 307.36877,
"y": 265.74588
},
"heading": {
"x": -0.9976476,
"y": -0.068551
},
"scanners": [
{
"id": "508ea421408d11111a3dd2d048613fe6",
"position": {
"x": 306.83942,
"y": 300.2151
},
"stats": {}
}
]
}
],
"projectiles": [],
"splosions": [
{
"id": "c587a06f01b891620135fa61908ad7f6",
"position": {
"x": 343.71506,
"y": 268.2433
},
"radius": 32
},
{
"id": "508ea421408d11111a3dd2d048613fe6",
"position": {
"x": 357.4129,
"y": 289.18433
},
"radius": 32
}
],
"reset": false,
"type": "boardstate",
"turn": 1405
}