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:
parent
0cba5eff59
commit
31faba642c
5 changed files with 179 additions and 10 deletions
11
ruleset.go
11
ruleset.go
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue