From 541e213c66f561f60bb1199a64aa58823a0586ed Mon Sep 17 00:00:00 2001 From: Fraser Graham Date: Sat, 19 Oct 2013 21:05:38 -0700 Subject: [PATCH] adding a sample JSON packet for reference --- sample_packet.json | 98 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 sample_packet.json diff --git a/sample_packet.json b/sample_packet.json new file mode 100644 index 0000000..303e50c --- /dev/null +++ b/sample_packet.json @@ -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 +}