new cause of death by hazard (#104)

This commit is contained in:
Rob O'Dwyer 2022-08-18 16:20:50 -07:00 committed by GitHub
parent b1ddd2f4ca
commit 7d769b01b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 10 deletions

View file

@ -26,6 +26,7 @@ const (
EliminatedByOutOfHealth = "out-of-health"
EliminatedByHeadToHeadCollision = "head-collision"
EliminatedByOutOfBounds = "wall-collision"
EliminatedByHazard = "hazard"
// Error constants
ErrorTooManySnakes = RulesetError("too many snakes for fixed start positions")