summaryrefslogtreecommitdiff
path: root/tests/v1-normal-match/Round 053
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 053
parent80485b855c5628adc2fa619de21164ded1a0cae1 (diff)
Tests comparing against a replay, and fixing the found bugs
Diffstat (limited to 'tests/v1-normal-match/Round 053')
-rw-r--r--tests/v1-normal-match/Round 053/JsonMap.json872
-rw-r--r--tests/v1-normal-match/Round 053/OpponentCommand.txt1
-rw-r--r--tests/v1-normal-match/Round 053/PlayerCommand.txt1
3 files changed, 874 insertions, 0 deletions
diff --git a/tests/v1-normal-match/Round 053/JsonMap.json b/tests/v1-normal-match/Round 053/JsonMap.json
new file mode 100644
index 0000000..96941de
--- /dev/null
+++ b/tests/v1-normal-match/Round 053/JsonMap.json
@@ -0,0 +1,872 @@
+{
+ "currentRound":53,
+ "maxRounds":600,
+ "player":{
+ "id":1,
+ "position":{
+ "y":3,
+ "x":503
+ },
+ "speed":15,
+ "state":"USED_BOOST",
+ "powerups":[
+ "OIL",
+ "OIL",
+ "OIL",
+ "OIL",
+ "OIL"
+ ],
+ "boosting":true,
+ "boostCounter":5
+ },
+ "opponent":{
+ "id":2,
+ "position":{
+ "y":2,
+ "x":505
+ },
+ "speed":8
+ },
+ "worldMap":[
+ [
+ {
+ "position":{
+ "y":1,
+ "x":498
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":499
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":500
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":501
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":502
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":503
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":504
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":505
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":506
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":507
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":508
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":509
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":510
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":511
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":512
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":513
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":514
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":515
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":516
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":517
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":518
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":519
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":520
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":521
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":522
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":1,
+ "x":523
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":2,
+ "x":498
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":499
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":500
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":501
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":502
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":503
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":504
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":505
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":2
+ },
+ {
+ "position":{
+ "y":2,
+ "x":506
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":507
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":508
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":509
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":510
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":511
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":512
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":513
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":514
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":515
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":516
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":517
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":518
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":519
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":520
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":521
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":522
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":2,
+ "x":523
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":3,
+ "x":498
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":499
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":500
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":501
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":502
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":503
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":1
+ },
+ {
+ "position":{
+ "y":3,
+ "x":504
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":505
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":506
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":507
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":508
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":509
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":510
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":511
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":512
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":513
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":514
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":515
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":516
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":517
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":518
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":519
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":520
+ },
+ "surfaceObject":3,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":521
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":522
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":3,
+ "x":523
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ }
+ ],
+ [
+ {
+ "position":{
+ "y":4,
+ "x":498
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":499
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":500
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":501
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":502
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":503
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":504
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":505
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":506
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":507
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":508
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":509
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":510
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":511
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":512
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":513
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":514
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":515
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":516
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":517
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":518
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":519
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":520
+ },
+ "surfaceObject":1,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":521
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":522
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ },
+ {
+ "position":{
+ "y":4,
+ "x":523
+ },
+ "surfaceObject":0,
+ "occupiedByPlayerId":0
+ }
+ ]
+ ]
+} \ No newline at end of file
diff --git a/tests/v1-normal-match/Round 053/OpponentCommand.txt b/tests/v1-normal-match/Round 053/OpponentCommand.txt
new file mode 100644
index 0000000..8ef4270
--- /dev/null
+++ b/tests/v1-normal-match/Round 053/OpponentCommand.txt
@@ -0,0 +1 @@
+Command: ACCELERATE
diff --git a/tests/v1-normal-match/Round 053/PlayerCommand.txt b/tests/v1-normal-match/Round 053/PlayerCommand.txt
new file mode 100644
index 0000000..0d0ef99
--- /dev/null
+++ b/tests/v1-normal-match/Round 053/PlayerCommand.txt
@@ -0,0 +1 @@
+Command: USE_OIL