diff options
Diffstat (limited to 'tests/state0.json')
-rw-r--r-- | tests/state0.json | 311 |
1 files changed, 310 insertions, 1 deletions
diff --git a/tests/state0.json b/tests/state0.json index fa41459..ef5cd39 100644 --- a/tests/state0.json +++ b/tests/state0.json @@ -1 +1,310 @@ -{"gameDetails":{"round":0,"mapWidth":8,"mapHeight":4,"roundIncomeEnergy":5,"buildingPrices":{"ENERGY":20,"ATTACK":30,"DEFENSE":30},"buildingsStats":{"ENERGY":{"health":5,"constructionTime":2,"price":20,"weaponDamage":0,"weaponSpeed":0,"weaponCooldownPeriod":0,"energyGeneratedPerTurn":3,"destroyMultiplier":1,"constructionScore":1},"ATTACK":{"health":5,"constructionTime":2,"price":30,"weaponDamage":5,"weaponSpeed":1,"weaponCooldownPeriod":3,"energyGeneratedPerTurn":0,"destroyMultiplier":1,"constructionScore":1},"DEFENSE":{"health":20,"constructionTime":4,"price":30,"weaponDamage":0,"weaponSpeed":0,"weaponCooldownPeriod":0,"energyGeneratedPerTurn":0,"destroyMultiplier":1,"constructionScore":1}}},"players":[{"playerType":"A","energy":20,"health":100,"hitsTaken":0,"score":0},{"playerType":"B","energy":20,"health":100,"hitsTaken":0,"score":0}],"gameMap":[[{"x":0,"y":0,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":1,"y":0,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":2,"y":0,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":3,"y":0,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":4,"y":0,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":5,"y":0,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":6,"y":0,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":7,"y":0,"buildings":[],"missiles":[],"cellOwner":"B"}],[{"x":0,"y":1,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":1,"y":1,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":2,"y":1,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":3,"y":1,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":4,"y":1,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":5,"y":1,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":6,"y":1,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":7,"y":1,"buildings":[],"missiles":[],"cellOwner":"B"}],[{"x":0,"y":2,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":1,"y":2,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":2,"y":2,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":3,"y":2,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":4,"y":2,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":5,"y":2,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":6,"y":2,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":7,"y":2,"buildings":[],"missiles":[],"cellOwner":"B"}],[{"x":0,"y":3,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":1,"y":3,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":2,"y":3,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":3,"y":3,"buildings":[],"missiles":[],"cellOwner":"A"},{"x":4,"y":3,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":5,"y":3,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":6,"y":3,"buildings":[],"missiles":[],"cellOwner":"B"},{"x":7,"y":3,"buildings":[],"missiles":[],"cellOwner":"B"}]]} +{ + "gameDetails": { + "round": 0, + "mapWidth": 8, + "mapHeight": 4, + "roundIncomeEnergy": 5, + "buildingPrices": { + "TESLA": 300, + "ENERGY": 20, + "ATTACK": 30, + "DEFENSE": 30 + }, + "buildingsStats": { + "TESLA": { + "health": 5, + "constructionTime": 11, + "price": 300, + "weaponDamage": 20, + "weaponSpeed": 0, + "weaponCooldownPeriod": 10, + "energyGeneratedPerTurn": 0, + "destroyMultiplier": 1, + "constructionScore": 1 + }, + "ENERGY": { + "health": 5, + "constructionTime": 2, + "price": 20, + "weaponDamage": 0, + "weaponSpeed": 0, + "weaponCooldownPeriod": 0, + "energyGeneratedPerTurn": 3, + "destroyMultiplier": 1, + "constructionScore": 1 + }, + "ATTACK": { + "health": 5, + "constructionTime": 2, + "price": 30, + "weaponDamage": 5, + "weaponSpeed": 1, + "weaponCooldownPeriod": 3, + "energyGeneratedPerTurn": 0, + "destroyMultiplier": 1, + "constructionScore": 1 + }, + "DEFENSE": { + "health": 20, + "constructionTime": 4, + "price": 30, + "weaponDamage": 0, + "weaponSpeed": 0, + "weaponCooldownPeriod": 0, + "energyGeneratedPerTurn": 0, + "destroyMultiplier": 1, + "constructionScore": 1 + } + } + }, + "players": [ + { + "playerType": "A", + "energy": 20, + "health": 100, + "hitsTaken": 0, + "score": 0 + }, + { + "playerType": "B", + "energy": 20, + "health": 100, + "hitsTaken": 0, + "score": 0 + } + ], + "gameMap": [ + [ + { + "x": 0, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 1, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 2, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 3, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 4, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 5, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 6, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 7, + "y": 0, + "buildings": [], + "missiles": [], + "cellOwner": "B" + } + ], + [ + { + "x": 0, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 1, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 2, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 3, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 4, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 5, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 6, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 7, + "y": 1, + "buildings": [], + "missiles": [], + "cellOwner": "B" + } + ], + [ + { + "x": 0, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 1, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 2, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 3, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 4, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 5, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 6, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 7, + "y": 2, + "buildings": [], + "missiles": [], + "cellOwner": "B" + } + ], + [ + { + "x": 0, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 1, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 2, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 3, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "A" + }, + { + "x": 4, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 5, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 6, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "B" + }, + { + "x": 7, + "y": 3, + "buildings": [], + "missiles": [], + "cellOwner": "B" + } + ] + ] +} |