summaryrefslogtreecommitdiff
path: root/tests/v1-normal-match/Round 129
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2020-04-18 17:45:28 +0200
committerJustin Wernick <justin@worthe-it.co.za>2020-04-18 17:45:28 +0200
commit5009074b5ba323e5312e999d766a01120990a61e (patch)
treecaf5c02671bd36b376be0d6d61bc9817d072d9d4 /tests/v1-normal-match/Round 129
parent80485b855c5628adc2fa619de21164ded1a0cae1 (diff)
Tests comparing against a replay, and fixing the found bugs
Diffstat (limited to 'tests/v1-normal-match/Round 129')
-rw-r--r--tests/v1-normal-match/Round 129/JsonMap.json870
-rw-r--r--tests/v1-normal-match/Round 129/OpponentCommand.txt1
-rw-r--r--tests/v1-normal-match/Round 129/PlayerCommand.txt1
3 files changed, 872 insertions, 0 deletions
diff --git a/tests/v1-normal-match/Round 129/JsonMap.json b/tests/v1-normal-match/Round 129/JsonMap.json
new file mode 100644
index 0000000..f6bc9ce
--- /dev/null
+++ b/tests/v1-normal-match/Round 129/JsonMap.json
@@ -0,0 +1,870 @@
+{
+ "currentRound":129,
+ "maxRounds":600,
+ "player":{
+ "id":1,
+ "position":{
+ "y":2,
+ "x":1259
+ },
+ "speed":3,
+ "state":"HIT_MUD",
+ "powerups":[
+ "OIL",
+ "OIL",
+ "BOOST"
+ ],
+ "boosting":false,
+ "boostCounter":0
+ },
+ "opponent":{
+ "id":2,
+ "position":{
+ "y":3,
+ "x":1199
+ },
+ "speed":8
+ },
+ "worldMap":[
+ [
+ {
+ "position":{
+ "y":1,
+ "x":1254
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1255
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1256
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1257
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1258
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1259
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1260
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1261
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1262
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1263
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1264
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1265
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1266
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1267
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1268
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1269
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1270
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1271
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1272
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1273
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1274
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1275
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1276
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1277
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1278
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1279
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":2,
+ "x":1254
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1255
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1256
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1257
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1258
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1259
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":1
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1260
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1261
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1262
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1263
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1264
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1265
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1266
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1267
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1268
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1269
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1270
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1271
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1272
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1273
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1274
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1275
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1276
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1277
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1278
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1279
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":3,
+ "x":1254
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1255
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1256
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1257
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1258
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1259
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1260
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1261
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1262
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1263
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1264
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1265
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1266
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1267
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1268
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1269
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1270
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1271
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1272
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1273
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1274
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1275
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1276
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1277
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1278
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1279
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":4,
+ "x":1254
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1255
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1256
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1257
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1258
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1259
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1260
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1261
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1262
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1263
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1264
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1265
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1266
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1267
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1268
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1269
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1270
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1271
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1272
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1273
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1274
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1275
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1276
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1277
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1278
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1279
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ]
+ ]
+} \ No newline at end of file
diff --git a/tests/v1-normal-match/Round 129/OpponentCommand.txt b/tests/v1-normal-match/Round 129/OpponentCommand.txt
new file mode 100644
index 0000000..8ef4270
--- /dev/null
+++ b/tests/v1-normal-match/Round 129/OpponentCommand.txt
@@ -0,0 +1 @@
+Command: ACCELERATE
diff --git a/tests/v1-normal-match/Round 129/PlayerCommand.txt b/tests/v1-normal-match/Round 129/PlayerCommand.txt
new file mode 100644
index 0000000..32cf195
--- /dev/null
+++ b/tests/v1-normal-match/Round 129/PlayerCommand.txt
@@ -0,0 +1 @@
+Command: USE_BOOST