Live data from Hacker News

Pac-Man, but you're the ghost

garrit.xyz

31–40 of 90 posts

Re: Pac-Man, but you're the ghost

#32
Seems the solution is to immediately leave and follow Pac-Man to the bottom-right (by alternating right-down) and chase him across the long corridor on the bottom. Keep following him and you'll just catch him, since he never goes for the power pellets.

Re: Pac-Man, but you're the ghost

#37

The ghosts are unable to reverse direction in Pac-Man. You should have your agent read this: https://pacman.holenet.info/

What does it mean for the ghosts to be "unable" to reverse direction? Isn't that just another way of saying that the original ghost AI was programmed to never choose to do so? There are, in fact, a lot of things they never choose to do. The whole appeal of this idea is to see if you can make better decisions than the original ghost AI.

Re: Pac-Man, but you're the ghost

#38
post #11

Sometimes I manage to make the ghost move on mobile but I don't understand how to do it in a consistent way. Maybe there should be a tap area of 90 degrees above the ghost (from -45 to +45) to move it upwards, 90 to the right to move it rightwards, etc.

On mobile, you just swipe in the direction you want to move (e.g. swipe up to go up). You can also queue the move ahead of time. So even if you are nowhere near the intersection yet, you can swipe up and trust that the ghost will automatically turn once it reaches the intersection.

Just like the original Pac-Man game :)

Re: Pac-Man, but you're the ghost

#40
post #11

Sometimes I manage to make the ghost move on mobile but I don't understand how to do it in a consistent way. Maybe there should be a tap area of 90 degrees above the ghost (from -45 to +45) to move it upwards, 90 to the right to move it rightwards, etc.

On mobile, you just swipe in the direction you want to move (e.g. swipe up to go up). You can also queue the move ahead of time. So even if you are nowhere near the intersection yet, you can swipe up and trust that the ghost will automatically turn once it reaches the intersection.

Could be my shitty phone, but the swipe lag is huge. I can swipe ~1s ahead of time and still miss a turn.
Post reply on HN