DEV 1916: Fix output issues in CLI (#114)
* adding testing of output file and write line for /end * fix regression in latency rounding for board
This commit is contained in:
parent
5f60ccbba8
commit
639362ef46
7 changed files with 396 additions and 49 deletions
26
cli/commands/testdata/jsonl_game.json
vendored
Normal file
26
cli/commands/testdata/jsonl_game.json
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"id": "GAME_ID",
|
||||
"ruleset": {
|
||||
"name": "standard",
|
||||
"version": "cli",
|
||||
"settings": {
|
||||
"foodSpawnChance": 1,
|
||||
"minimumFood": 2,
|
||||
"hazardDamagePerTurn": 3,
|
||||
"hazardMap": "",
|
||||
"hazardMapAuthor": "",
|
||||
"royale": {
|
||||
"shrinkEveryNTurns": 4
|
||||
},
|
||||
"squad": {
|
||||
"allowBodyCollisions": false,
|
||||
"sharedElimination": false,
|
||||
"sharedHealth": false,
|
||||
"sharedLength": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"map": "standard",
|
||||
"timeout": 500,
|
||||
"source": ""
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue