Remove ruleset versions for GitHub release version (future).

This commit is contained in:
bvanvugt 2021-07-02 20:09:55 -07:00
parent 9dba91619a
commit 72a74a9628
6 changed files with 8 additions and 13 deletions

View file

@ -59,9 +59,8 @@ type SnakeMove struct {
}
type Ruleset interface {
Name() string
CreateInitialBoardState(width int32, height int32, snakeIDs []string) (*BoardState, error)
CreateNextBoardState(prevState *BoardState, moves []SnakeMove) (*BoardState, error)
IsGameOver(state *BoardState) (bool, error)
Name() string
Version() string
}