DEV 953: Add basic maps support to CLI (#74)

* remove squad support and switch to using pipelines only in RulesBuilder

* remove spawn_food.standard from legacy ruleset definitions

* bugfix: Royale map generates Standard food

* add maps support to CLI

* add automated tests for all registered GameMap implementations

* update README
This commit is contained in:
Rob O'Dwyer 2022-05-25 11:24:27 -07:00 committed by GitHub
parent 3bd1e47bb4
commit 1adbc79168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 565 additions and 1371 deletions

View file

@ -1,6 +1,6 @@
{
"game": {
"id": "",
"id": "GAME_ID",
"ruleset": {
"name": "solo",
"version": "cli",
@ -8,10 +8,10 @@
"foodSpawnChance": 11,
"minimumFood": 7,
"hazardDamagePerTurn": 19,
"hazardMap": "hz_spiral",
"hazardMapAuthor": "altersaddle",
"hazardMap": "",
"hazardMapAuthor": "",
"royale": {
"shrinkEveryNTurns": 0
"shrinkEveryNTurns": 17
},
"squad": {
"allowBodyCollisions": false,
@ -21,7 +21,7 @@
}
}
},
"map": "",
"map": "standard",
"timeout": 500,
"source": ""
},