Permalink
Browse files

adapted gameplay

  • Loading branch information...
hbbio committed Mar 9, 2012
1 parent 1a93773 commit 9de2b37850b3ff9777ef2cd4b495472c6c0f0f52
Showing with 6 additions and 6 deletions.
  1. +3 −3 src/mind.opa
  2. +3 −3 src/opacman.opa
View
@@ -5,9 +5,9 @@ get_nb_moves() =
med = MindWave.get_meditation_level()
if not(MindWave.is_present()) then 1
else
- slow = if att < 20 && Random.int(101) < 20 then (-1) else 0
- if med > 80 && Random.int(101) < 20 then slow+2
- else slow+1
+ slow = if att < 40 && Random.int(101) < 20 then (-2) else 0
+ if med > 70 && Random.int(101) < 20 then slow+3
+ else slow+2
mindwave_flash =
<div id="flashContent">
View
@@ -2,7 +2,7 @@ import stdlib.web.canvas
/* Config */
-fps = 60
+fps = 30
base_size = 32
grid_width = List.length(List.head(grid))
grid_heigth = List.length(grid)
@@ -15,8 +15,8 @@ clear_bonus = 500
life_points = 2500
pacman_speed = 10
-pacman_speed_on_steroids = 8
-ghosts_speed = 11
+pacman_speed_on_steroids = 6
+ghosts_speed = 8
/* Defaults */

0 comments on commit 9de2b37

Please sign in to comment.