summaryrefslogtreecommitdiff
path: root/tests/v1-normal-match/Round 128
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 128
parent80485b855c5628adc2fa619de21164ded1a0cae1 (diff)
Tests comparing against a replay, and fixing the found bugs
Diffstat (limited to 'tests/v1-normal-match/Round 128')
-rw-r--r--tests/v1-normal-match/Round 128/JsonMap.json869
-rw-r--r--tests/v1-normal-match/Round 128/OpponentCommand.txt1
-rw-r--r--tests/v1-normal-match/Round 128/PlayerCommand.txt1
3 files changed, 871 insertions, 0 deletions
diff --git a/tests/v1-normal-match/Round 128/JsonMap.json b/tests/v1-normal-match/Round 128/JsonMap.json
new file mode 100644
index 0000000..0bfc4e8
--- /dev/null
+++ b/tests/v1-normal-match/Round 128/JsonMap.json
@@ -0,0 +1,869 @@
+{
+ "currentRound":128,
+ "maxRounds":600,
+ "player":{
+ "id":1,
+ "position":{
+ "y":2,
+ "x":1244
+ },
+ "speed":9,
+ "state":"HIT_MUD",
+ "powerups":[
+ "OIL",
+ "BOOST"
+ ],
+ "boosting":false,
+ "boostCounter":0
+ },
+ "opponent":{
+ "id":2,
+ "position":{
+ "y":3,
+ "x":1191
+ },
+ "speed":6
+ },
+ "worldMap":[
+ [
+ {
+ "position":{
+ "y":1,
+ "x":1239
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1240
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1241
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1242
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1243
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1244
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1245
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1246
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1247
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1248
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1249
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1250
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1251
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1252
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":1253
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "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":2,
+ "x":1239
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1240
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1241
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1242
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1243
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1244
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":1
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1245
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1246
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1247
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1248
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1249
+ },
+ "surfaceObject":5,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1250
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1251
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1252
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":1253
+ },
+ "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":0
+ },
+ {
+ "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":3,
+ "x":1239
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1240
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1241
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1242
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1243
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1244
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1245
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1246
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1247
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1248
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1249
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1250
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1251
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1252
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":1253
+ },
+ "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":4,
+ "x":1239
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1240
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1241
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1242
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1243
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1244
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1245
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1246
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1247
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1248
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1249
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1250
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1251
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1252
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":1253
+ },
+ "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
+ }
+ ]
+ ]
+} \ No newline at end of file
diff --git a/tests/v1-normal-match/Round 128/OpponentCommand.txt b/tests/v1-normal-match/Round 128/OpponentCommand.txt
new file mode 100644
index 0000000..8ef4270
--- /dev/null
+++ b/tests/v1-normal-match/Round 128/OpponentCommand.txt
@@ -0,0 +1 @@
+Command: ACCELERATE
diff --git a/tests/v1-normal-match/Round 128/PlayerCommand.txt b/tests/v1-normal-match/Round 128/PlayerCommand.txt
new file mode 100644
index 0000000..32cf195
--- /dev/null
+++ b/tests/v1-normal-match/Round 128/PlayerCommand.txt
@@ -0,0 +1 @@
+Command: USE_BOOST