Pac-Man/Tips: Difference between revisions

Jump to navigation Jump to search
235 bytes added ,  2 March 2016
→‎Ghost psychology: Pass through glitch should be described before the end of the walkthrough.
m (→‎Home corners: Now I did.)
(→‎Ghost psychology: Pass through glitch should be described before the end of the walkthrough.)
Line 35: Line 35:
====AI bug====
====AI bug====
When Pac-Man is facing up, there is actually a bug in the code which makes Pinky's target space four up and four to the left of Pac-Man. Similarly, the cyan square that Inky wants to go the opposite of is actually two up and two to the left of Pac-Man. This makes Inky's actual target four spaces to the left of what is shown in the picture. This is due to overflow errors.
When Pac-Man is facing up, there is actually a bug in the code which makes Pinky's target space four up and four to the left of Pac-Man. Similarly, the cyan square that Inky wants to go the opposite of is actually two up and two to the left of Pac-Man. This makes Inky's actual target four spaces to the left of what is shown in the picture. This is due to overflow errors.
====Pass-through bug====
Pac-Man and the four ghosts each occupy one cell, which is used to determine whether the they collide.
If Pac-Man and one of the ghosts exchange tiles at the same time, Pac-Man will pass through unharmed.


===Home corners===
===Home corners===

Navigation menu