Permalink
Browse files

Food is now eaten slightly earlier

  • Loading branch information...
1 parent 00b1a25 commit b3f7642928104806e4f74ae6a3a94f6cab67cf71 @HenJi committed Nov 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pacman.opa
View
@@ -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)

0 comments on commit b3f7642

Please sign in to comment.