add ruleset data to the calls made by the cli (name and version) (#32)
* add ruleset data to the cli (name and version) * remove double ruleset tracking with royale mode
This commit is contained in:
parent
d750b08317
commit
f31bdff4b8
11 changed files with 86 additions and 29 deletions
2
solo.go
2
solo.go
|
|
@ -12,3 +12,5 @@ func (r *SoloRuleset) IsGameOver(b *BoardState) (bool, error) {
|
|||
}
|
||||
return true, nil
|
||||
}
|
||||
func (r *SoloRuleset) Name() string { return "solo" }
|
||||
func (r *SoloRuleset) Version() string { return "1.0.0" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue