diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2020-04-18 17:45:28 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2020-04-18 17:45:28 +0200 |
commit | 5009074b5ba323e5312e999d766a01120990a61e (patch) | |
tree | caf5c02671bd36b376be0d6d61bc9817d072d9d4 /tests/v1-normal-match/Round 029 | |
parent | 80485b855c5628adc2fa619de21164ded1a0cae1 (diff) |
Tests comparing against a replay, and fixing the found bugs
Diffstat (limited to 'tests/v1-normal-match/Round 029')
-rw-r--r-- | tests/v1-normal-match/Round 029/JsonMap.json | 871 | ||||
-rw-r--r-- | tests/v1-normal-match/Round 029/OpponentCommand.txt | 1 | ||||
-rw-r--r-- | tests/v1-normal-match/Round 029/PlayerCommand.txt | 1 |
3 files changed, 873 insertions, 0 deletions
diff --git a/tests/v1-normal-match/Round 029/JsonMap.json b/tests/v1-normal-match/Round 029/JsonMap.json new file mode 100644 index 0000000..dbb763f --- /dev/null +++ b/tests/v1-normal-match/Round 029/JsonMap.json @@ -0,0 +1,871 @@ +{ + "currentRound":29, + "maxRounds":600, + "player":{ + "id":1, + "position":{ + "y":3, + "x":254 + }, + "speed":8, + "state":"HIT_OIL", + "powerups":[ + "OIL", + "OIL", + "OIL", + "OIL" + ], + "boosting":false, + "boostCounter":0 + }, + "opponent":{ + "id":2, + "position":{ + "y":3, + "x":279 + }, + "speed":9 + }, + "worldMap":[ + [ + { + "position":{ + "y":1, + "x":249 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":250 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":251 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":252 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":253 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":254 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":255 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":256 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":257 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":258 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":259 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":260 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":261 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":262 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":263 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":264 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":265 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":266 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":267 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":268 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":269 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":270 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":271 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":272 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":273 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":1, + "x":274 + }, + "surfaceObject":3, + "occupiedByPlayerId":0 + } + ], + [ + { + "position":{ + "y":2, + "x":249 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":250 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":251 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":252 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":253 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":254 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":255 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":256 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":257 + }, + "surfaceObject":3, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":258 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":259 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":260 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":261 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":262 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":263 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":264 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":265 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":266 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":267 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":268 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":269 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":270 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":271 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":272 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":273 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":2, + "x":274 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + } + ], + [ + { + "position":{ + "y":3, + "x":249 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":250 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":251 + }, + "surfaceObject":2, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":252 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":253 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":254 + }, + "surfaceObject":0, + "occupiedByPlayerId":1 + }, + { + "position":{ + "y":3, + "x":255 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":256 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":257 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":258 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":259 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":260 + }, + "surfaceObject":2, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":261 + }, + "surfaceObject":3, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":262 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":263 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":264 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":265 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":266 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":267 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":268 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":269 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":270 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":271 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":272 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":273 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":3, + "x":274 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + } + ], + [ + { + "position":{ + "y":4, + "x":249 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":250 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":251 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":252 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":253 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":254 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":255 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":256 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":257 + }, + "surfaceObject":3, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":258 + }, + "surfaceObject":5, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":259 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":260 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":261 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":262 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":263 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":264 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":265 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":266 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":267 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":268 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":269 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":270 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":271 + }, + "surfaceObject":1, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":272 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":273 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + }, + { + "position":{ + "y":4, + "x":274 + }, + "surfaceObject":0, + "occupiedByPlayerId":0 + } + ] + ] +}
\ No newline at end of file diff --git a/tests/v1-normal-match/Round 029/OpponentCommand.txt b/tests/v1-normal-match/Round 029/OpponentCommand.txt new file mode 100644 index 0000000..0d0ef99 --- /dev/null +++ b/tests/v1-normal-match/Round 029/OpponentCommand.txt @@ -0,0 +1 @@ +Command: USE_OIL diff --git a/tests/v1-normal-match/Round 029/PlayerCommand.txt b/tests/v1-normal-match/Round 029/PlayerCommand.txt new file mode 100644 index 0000000..8ef4270 --- /dev/null +++ b/tests/v1-normal-match/Round 029/PlayerCommand.txt @@ -0,0 +1 @@ +Command: ACCELERATE |