You should make it so user can hold down a key to change direction <i>before</i> they reach the intersection, joystick style.<p>As it is, it feels like you are checking for key press (not key down) in a narrow window when the ghost reaches the intersection. That is very hard to play. It is much more forgiving if I can press and hold the key whenever I want.
Nintendo did something like this with "Pacman vs" for GameCube. The multiplayer gimmick was the players controlling the ghosts couldn't see the entire map and the player controlling Pacman could with a Game Boy Advanced linked to the Gamecube.
Awesome. It's mind-bending to control two players. The idea of using arrow keys to control one player and WASD to control another is genius. Maybe you can visualize which is which by coloring the explanatory text.
For anyone interested in this style of gameplay mechanic, the game <i>Brothers - A Tale of Two Sons</i> (steam: <a href="https://store.steampowered.com/app/225080/Brothers__A_Tale_of_Two_Sons/" rel="nofollow">https://store.steampowered.com/app/225080/Brothers__A_Tale_o...</a>) uses a twin-stick approach to this, and builds puzzles around controlling two "people".<p>It's a quick play and the game is pretty good, I recommend experiencing it.
Reminds me of a demo I played 10 years ago called swap box turbo. Designed for two players, it is a simple platformer where you and your partner swap positions and momentum every 3 seconds.<p>You can play it single player too and have an experience similar to this.<p><a href="https://www.freeindiegam.es/2012/12/swap-box-turbo-nifflas/" rel="nofollow">https://www.freeindiegam.es/2012/12/swap-box-turbo-nifflas/</a>
Would be fun to have dual stick controller support: <a href="https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API</a>
The ghosts don't respond to a key until they encounter to an intersection, so that you cannot reverse direction instantly. Maybe there is a deliberate point to that, but it doesn't make it less annoying.
Are you planning on adding the power pills to give Pac Man a fighting chance?<p>Also, I noticed that he often circles around the upper left area a few times at the start even though there are no dots to collect.
I like the concept but shouldn't the score be counting down? Or am I trying to shepherd Pac-Man into eating as many as possible to get a high score?
Very cool. Gemini is such a fun tool to do a one-shot MVP of a game like this: <a href="https://g.co/gemini/share/7639ee864df7" rel="nofollow">https://g.co/gemini/share/7639ee864df7</a><p>Gemini wasn't clever enough to disallow ghosts changing directions mid-way, but it did do a smart thing with "pellets remaining" scoring.