Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Food is now eaten slightly earlier

  • Loading branch information...
commit b3f7642928104806e4f74ae6a3a94f6cab67cf71 1 parent 00b1a25
@HenJi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/pacman.opa
View
2  src/pacman.opa
@@ -72,7 +72,7 @@
}
(food, dscore, steroids) =
- if cur_step != p.base.max_steps/2 then (g.food, 0, g.on_steroids)
+ if cur_step != p.base.max_steps/4 then (g.food, 0, g.on_steroids)
else Food.check(pos, g.food, g.on_steroids)
score = g.score + dscore
lives = g.lives + (score/life_points - g.score/life_points)
Please sign in to comment.
Something went wrong with that request. Please try again.