frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Reverse Pac-Man

https://reverse-pacman.staticrun.app/index
78•Eagle64•6mo ago
Keep one eye on the first ghost and the other on the second

Comments

brudgers•6mo ago
I can't see the whole screen on my laptop, and the screen doesn't scroll.
Eagle64•6mo ago
Thanks for the feedback. It is fixed
pmontra•6mo ago
It's one of those things that "why did nobody think about it yet?!"
toast0•6mo ago
Pac-Man Vs. [1] was a commercial game on this wavelength. I don't think I ever played that one.

[1] https://en.wikipedia.org/wiki/Pac-Man_Vs.

jaimebuelta•6mo ago
I was going to say the same thing. Pac-Man Vs was incredibly fun and a great party game.
thih9•6mo ago
Fixed link: https://en.m.wikipedia.org/wiki/Pac-Man_Vs%2E

(trailing dot escaped via %2E)

roskelld•6mo ago
One Little Ghost (2012) [1] [2] for the ZX81 is one version I only recently found out about. Figured it was worth mentioning here given how impressive it is for a game on the humble ZX81 machine that's well over 40 years old.

[1] https://bobs-stuff.itch.io/one-little-ghost

[2] https://www.youtube.com/watch?v=Rq2hOlC97SQ

iorekz•6mo ago
genius
Eagle64•6mo ago
Haha. I’ll take the compliment.
roskelld•6mo ago
Are you planning on adding the power pills to give Pac Man a fighting chance?

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.

Eagle64•6mo ago
Good idea ! That will add a new cool dynamic. The behavior of the Pac-Man is to avoid the ghost with some random pattern added. This might happen.
xnx•6mo ago
Very cool. Gemini is such a fun tool to do a one-shot MVP of a game like this: https://g.co/gemini/share/7639ee864df7

Gemini wasn't clever enough to disallow ghosts changing directions mid-way, but it did do a smart thing with "pellets remaining" scoring.

Eagle64•6mo ago
Really ? Even if you specify that ghosts can turn only at intersections?
xnx•6mo ago
I'm sure it could. I was very unspecified with my prompt (below). No doubt it could add sound, etc. as well.

Prompt: Create a game of Pacman with only 2 ghosts. Instead of the player controlling pacman, the player controls the ghosts.

Controls: Ghost 1 (Red): WASD or ZQSD Ghost 2 (Cyan): Arrow Keys

amadeuspagel•6mo ago
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.
eesmith•6mo ago
I used to solo play 2-player Gauntlet for the PC this way, back around 1990.

In the 1980s it was pretty common to have 2-player games with both players on the same keyboard.

Edit: Spacewar (see https://archive.org/details/msdos_Spacewar_1985) is an example of a two-player-on-one-keyboard game, from 1985.

redbluething•6mo ago
Yellow Wizard Needs Food Badly!
chrisweekly•6mo ago
Warrior is about to die!

man that takes me back

CloudNetPro•6mo ago
Me and my friends used to play 3 player simultaneously in D-Zone. Obviously we had to be kind with each other about space around the keyboard and about key presses. Still one of the best gaming experiences I ever had.

https://www.mobygames.com/game/69231/destruction-zone/

vunderba•6mo ago
I built a dual snake game where you simultaneously control two snakes a while back, perhaps I should do a Show HN about it at some point.

https://specularrealms.itch.io/the-twins-of-caduceus

Fair warning: It's a game made for people who excel at ambidextrous tasks like patting one's head and rubbing one's tummy, or juggling Rubik's cubes that you are also solving.

KennedyHere•6mo ago
Fun game! From the title, I was expecting to guide Pac-Man to put all the dots back in place.
Eagle64•6mo ago
Haha. I haven’t thought of this. That would be a cool other mode
GlassOwAter•6mo ago
Poo-Man or Puke-Man
xnx•6mo ago
Crap-Man?
vunderba•6mo ago
While that would be amusing, mechanically it would be identical to the original game.
derefr•6mo ago
Not really. Presume that everything is time-reversed, and the game kills you if you do anything not possible when your playback is flipped around and played "forward." Then:

- Obviously, you "emit" dots and fruit and power pellets as you traverse the grid.

- Less obviously, once you populate a dot/fruit/power pellet onto a grid square, you can't visit that position again — as, if reversed, that'd look like you going over those things without collecting them.

- You'd randomly enter the powered-up state, and you'd then have to visit one of the unpopulated power-pellet grid positions in order to emit the power pellet to get out of that state — before the powered-up-state timer expires. (The power-up-state going on longer than that is invalid!)

- While in the powered-up state, you'd see pairs of ghost eyes unavoidably approaching you; they'd touch you, turn into ghosts, and then flee from you. That's fine. But once they become ghosts and move off of the grid-space you occupy, you can't touch them again.

LocalH•6mo ago
Idea for a "challenge mode" on top of that, since this would probably be too hard for casual play:

A series of levels where you are given a score at the beginning. You must find the path around the map that brings your score exactly to zero, using reverse Pac-Man scoring rules (each dot you lay reduces your score by 10, etc). If you reach zero with more dots to lay, or finish laying down all dots without reaching zero, you die (as those would also be invalid states).

Recording input for these challenge runs would be a cool idea too, as you could have the option to watch the run "forwards" for further entertainment. To lessen the difficulty a little bit, the player could even have access to the "forward" version of a run that completes the desired score target (with appropriate bonuses for players who don't utilize the "hint" run).

alnwlsn•6mo ago
For that, you want this rom hack/patch

http://48k.ca/bacman.html

mrighele•6mo ago
Me too, also because I remember playing that kind of game, on a Creativision, more than 40 years ago [1]

[1] https://archive.org/details/Crazy_Chicky_1981_VTL

mtVessel•6mo ago
On FF (similar on Edge):

Secure Connection Failed

An error occurred during a connection to reverse-pacman.staticrun.app. PR_END_OF_FILE_ERROR

Eagle64•6mo ago
Thanks for letting me know. There is a problem with the host. I moved it to itch.io https://themarelle.itch.io/reverse-pac-man
kmoser•6mo ago
On Firefox it freezes on the keyboard instructions screen for me. Console shows it requires WebGL. Maybe put a message on screen indicating that?
xnx•6mo ago
Would be fun to have dual stick controller support: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API
tantalor•6mo ago
You should make it so user can hold down a key to change direction before they reach the intersection, joystick style.

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.

Eagle64•6mo ago
Thank you for the suggestion. Your wish has been granted. It is definitely better like this.
tantalor•6mo ago
Yes! thanks
bentcorner•6mo ago
For anyone interested in this style of gameplay mechanic, the game Brothers - A Tale of Two Sons (steam: https://store.steampowered.com/app/225080/Brothers__A_Tale_o...) uses a twin-stick approach to this, and builds puzzles around controlling two "people".

It's a quick play and the game is pretty good, I recommend experiencing it.

bitwize•6mo ago
That game was an emotional journey, man. Very short as these games go, but it hit hard.

And the music was by Gustaf Grefberg, "Lizardking", my favorite oldskool demo musician by a mile.

progforlyfe•6mo ago
It's not loading at all for me. Hug of death?
Eagle64•6mo ago
Even with this link ? https://themarelle.itch.io/reverse-pac-man
narcindin•6mo ago
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.

You can play it single player too and have an experience similar to this.

https://www.freeindiegam.es/2012/12/swap-box-turbo-nifflas/

kazinator•6mo ago
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.
adamiscool8•6mo ago
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?
lostmsu•6mo ago
The game screen is cut on the right when browser window is small.
nprateem•6mo ago
This was why I liked opposing force. Give NPCs their own backstory and make them playable.
staticman2•6mo ago
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.
thih9•6mo ago
The game is also available on nintendo switch and it supports multiplayer with that same gimmick, with two devices.

https://en.m.wikipedia.org/wiki/Pac-Man_Vs%2E

Nano Banana can be prompt engineered for nuanced AI image generation

https://minimaxir.com/2025/11/nano-banana-prompts/
638•minimaxir•14h ago•160 comments

What Happened with the CIA and The Paris Review?

https://www.theparisreview.org/blog/2025/11/11/what-really-happened-with-the-cia-and-the-paris-re...
28•benbreen•7h ago•3 comments

Why I'm Learning Sumerian

https://mindthenerd.com/why-im-learning-sumerian-and-what-it-taught-me-about-hard-work-burnout-an...
84•surprisetalk•1w ago•38 comments

RegreSQL: Regression Testing for PostgreSQL Queries

https://boringsql.com/posts/regresql-testing-queries/
4•radimm•39m ago•0 comments

Hooked on Sonics: Experimenting with Sound in 19th-Century Popular Science

https://publicdomainreview.org/essay/science-of-sound/
10•Hooke•1h ago•0 comments

Disrupting the first reported AI-orchestrated cyber espionage campaign

https://www.anthropic.com/news/disrupting-AI-espionage
240•koakuma-chan•13h ago•158 comments

Launch HN: Tweeks (YC W25) – Browser extension to deshittify the web

https://www.tweeks.io/onboarding
228•jmadeano•15h ago•155 comments

How to Get a North Korea / Antarctica VPS

https://blog.lyc8503.net/en/post/asn-5-worldwide-servers/
86•uneven9434•6h ago•26 comments

'The Dream Factory' Review: A Building and Its Bard

https://www.wsj.com/arts-culture/books/the-dream-factory-review-a-building-and-its-bard-6d79ce43
10•pepys•4d ago•0 comments

OpenMANET Wi-Fi HaLow open-source project for Raspberry Pi–based MANET radios

https://openmanet.net/
105•hexmiles•10h ago•26 comments

650GB of Data (Delta Lake on S3). Polars vs. DuckDB vs. Daft vs. Spark

https://dataengineeringcentral.substack.com/p/650gb-of-data-delta-lake-on-s3-polars
170•tanelpoder•10h ago•50 comments

A Brutal Look at Balanced Parentheses, Computing Machines, and Pushdown Automata

https://raganwald.com/2019/02/14/i-love-programming-and-programmers.html
32•warrenm•1w ago•7 comments

Sarah Mason, inventor of the continuity script, first script supervisor

https://wfpp.columbia.edu/pioneer/ccp-sarah-y-mason/
5•Marshferm•1w ago•1 comments

Kubernetes Ingress Nginx is retiring

https://www.kubernetes.dev/blog/2025/11/12/ingress-nginx-retirement/
121•TheApplicant•9h ago•64 comments

Think in math, write in code (2019)

https://www.jmeiners.com/think-in-math/
146•alabhyajindal•4d ago•55 comments

Blender Lab

https://www.blender.org/news/introducing-blender-lab/
231•radeeyate•18h ago•45 comments

Why do we need dithering?

https://typefully.com/DanHollick/why-do-we-need-dithering-Ut7oD4k
74•ibobev•1w ago•60 comments

Blue Origin lands New Glenn rocket booster on second try

https://techcrunch.com/2025/11/13/blue-origin-lands-new-glenn-rocket-booster-on-second-try/
335•perihelions•10h ago•175 comments

SlopStop: Community-driven AI slop detection in Kagi Search

https://blog.kagi.com/slopstop
419•msub2•12h ago•188 comments

Show HN: DBOS Java – Postgres-Backed Durable Workflows

https://github.com/dbos-inc/dbos-transact-java
75•KraftyOne•11h ago•38 comments

SIMA 2: An agent that plays, reasons, and learns with you in virtual 3D worlds

https://deepmind.google/blog/sima-2-an-agent-that-plays-reasons-and-learns-with-you-in-virtual-3d...
195•meetpateltech•16h ago•78 comments

Itiner-E – The Digital Atlas of Ancient Roads

https://itiner-e.org/
36•beatthatflight•1w ago•1 comments

Steam Machine

https://store.steampowered.com/sale/steammachine
2706•davikr•1d ago•1325 comments

Android developer verification: Early access starts

https://android-developers.googleblog.com/2025/11/android-developer-verification-early.html
1305•erohead•1d ago•617 comments

The Eggstraordinary Fortress

https://ahmed1011001.github.io/Notes/stories/eggstrodinary.html
63•tippa123•13h ago•19 comments

Zed is our office

https://zed.dev/blog/zed-is-our-office
537•sagacity•16h ago•273 comments

Piramidal (YC W24) Hiring: Front End Engineer

https://www.ycombinator.com/companies/piramidal/jobs/i9yNX5s-front-end-engineer-user-interface
1•dsacellarius•10h ago

Checkout.com hacked, refuses ransom payment, donates to security labs

https://www.checkout.com/blog/protecting-our-merchants-standing-up-to-extortion
579•StrangeSound•22h ago•254 comments

I Built a One File Edge Probe to Tell Me When Time Is Lying

https://physical-ai.ghost.io/a-one-file-pwa-to-tell-you-when-time-is-lying/
37•boulevard•1w ago•3 comments

Rust in Android: move fast and fix things

https://security.googleblog.com/2025/11/rust-in-android-move-fast-fix-things.html
355•abraham•13h ago•275 comments