reorder built-in ruleset stages so game over is checked first (#79)
This commit is contained in:
parent
f0dc0bcb38
commit
426da8ac5e
7 changed files with 17 additions and 43 deletions
|
|
@ -14,12 +14,12 @@ type StandardRuleset struct {
|
|||
}
|
||||
|
||||
var standardRulesetStages = []string{
|
||||
StageGameOverStandard,
|
||||
StageMovementStandard,
|
||||
StageStarvationStandard,
|
||||
StageHazardDamageStandard,
|
||||
StageFeedSnakesStandard,
|
||||
StageEliminationStandard,
|
||||
StageGameOverStandard,
|
||||
}
|
||||
|
||||
func (r *StandardRuleset) Name() string { return GameTypeStandard }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue