Add missing ruleset params to request body and --debug-requests option (#55)

* fix sending of new params

* add royale and squad settings to requests

* add --debug-requests option

* update test for request body and add helper

Co-authored-by: Penelope Phippen <penelope@hey.com>
This commit is contained in:
Rob O'Dwyer 2021-09-07 14:58:10 -07:00 committed by GitHub
parent 0cba5eff59
commit 31faba642c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 179 additions and 10 deletions

View file

@ -39,11 +39,12 @@ type Point struct {
}
type Snake struct {
ID string
Body []Point
Health int32
EliminatedCause string
EliminatedBy string
ID string
Body []Point
Health int32
EliminatedCause string
EliminatedOnTurn int32
EliminatedBy string
}
type SnakeMove struct {