DEV 1666: Fix /end requests and clean up logging (#109)
* ensure /end request is always called, and refactor win/draw logic * clean up logging and error handling during initialization * automatically generate friendly snake names * title-case snake names * print out list of alive snake names instead of count * log snake names, IDs, and URLs at startup * print out state for turn zero
This commit is contained in:
parent
006f394355
commit
09aea9c49d
10 changed files with 317 additions and 151 deletions
|
|
@ -25,7 +25,6 @@ func buildDefaultGameState() *GameState {
|
|||
Seed: 1,
|
||||
TurnDelay: 0,
|
||||
TurnDuration: 0,
|
||||
DebugRequests: false,
|
||||
Output: "",
|
||||
FoodSpawnChance: 15,
|
||||
MinimumFood: 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue