add rules text

This commit is contained in:
stryan 2021-11-30 21:41:11 -05:00
parent a0ec6430db
commit 93b54b24c4
2 changed files with 5 additions and 4 deletions

View File

@ -6,4 +6,5 @@ type CardView struct {
Rank int `json:"rank"` Rank int `json:"rank"`
ImageURI string `json:"image_uri"` ImageURI string `json:"image_uri"`
Flavour string `json:"flavour"` Flavour string `json:"flavour"`
Rules string `json:"rules_text"`
} }

2
cmd.go
View File

@ -5,7 +5,7 @@ import "fmt"
type CmdType string type CmdType string
const ( const (
ActCmd = "a" ActCmd CmdType = "a"
StateCmd = "s" StateCmd = "s"
DebugCmd = "d" DebugCmd = "d"
InvalidCmd = "e" InvalidCmd = "e"