Fix winning.

This commit is contained in:
Luke Meyers 2020-02-05 19:26:40 -08:00
parent 9fe5108133
commit f1a8c48b13
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func maybePassBaton(t *team) {
} }
func won(b bot, s state) bool { func won(b bot, s state) bool {
return b.pos == steps return b.pos >= steps
} }
func gameOver(s state) bool { func gameOver(s state) bool {