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•10mo ago
Keep one eye on the first ghost and the other on the second

Comments

brudgers•10mo ago
I can't see the whole screen on my laptop, and the screen doesn't scroll.
Eagle64•10mo ago
Thanks for the feedback. It is fixed
pmontra•10mo ago
It's one of those things that "why did nobody think about it yet?!"
toast0•10mo 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•10mo ago
I was going to say the same thing. Pac-Man Vs was incredibly fun and a great party game.
thih9•10mo ago
Fixed link: https://en.m.wikipedia.org/wiki/Pac-Man_Vs%2E

(trailing dot escaped via %2E)

roskelld•10mo 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•10mo ago
genius
Eagle64•10mo ago
Haha. I’ll take the compliment.
roskelld•10mo 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•10mo 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•10mo 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•10mo ago
Really ? Even if you specify that ghosts can turn only at intersections?
xnx•10mo 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•10mo 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•10mo 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•10mo ago
Yellow Wizard Needs Food Badly!
chrisweekly•10mo ago
Warrior is about to die!

man that takes me back

CloudNetPro•10mo 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•10mo 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•10mo ago
Fun game! From the title, I was expecting to guide Pac-Man to put all the dots back in place.
Eagle64•10mo ago
Haha. I haven’t thought of this. That would be a cool other mode
GlassOwAter•10mo ago
Poo-Man or Puke-Man
xnx•10mo ago
Crap-Man?
vunderba•10mo ago
While that would be amusing, mechanically it would be identical to the original game.
derefr•10mo 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•10mo 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•10mo ago
For that, you want this rom hack/patch

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

mrighele•10mo 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•10mo 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•10mo 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•10mo 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•10mo ago
Would be fun to have dual stick controller support: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API
tantalor•10mo 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•10mo ago
Thank you for the suggestion. Your wish has been granted. It is definitely better like this.
tantalor•10mo ago
Yes! thanks
bentcorner•10mo 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•10mo 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•10mo ago
It's not loading at all for me. Hug of death?
Eagle64•10mo ago
Even with this link ? https://themarelle.itch.io/reverse-pac-man
narcindin•10mo 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•10mo 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•10mo 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•10mo ago
The game screen is cut on the right when browser window is small.
nprateem•10mo ago
This was why I liked opposing force. Give NPCs their own backstory and make them playable.
staticman2•10mo 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•10mo 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

Fixfest is a global gathering of repairers, tinkerers, and activists

https://fixfest.therestartproject.org/
30•robtherobber•35m ago•0 comments

Building a Procedural Hex Map with Wave Function Collapse

https://felixturner.github.io/hex-map-wfc/article/
75•imadr•1h ago•10 comments

Launch HN: Terminal Use (YC W26) – Vercel for filesystem-based agents

19•filipbalucha•1h ago•12 comments

JSLinux Now Supports x86_64

https://bellard.org/jslinux/
23•TechTechTech•1h ago•2 comments

Show HN: The Mog Programming Language

https://moglang.org
5•belisarius222•13m ago•0 comments

Show HN: DenchClaw – Local CRM on Top of OpenClaw

https://github.com/DenchHQ/DenchClaw
23•kumar_abhirup•3h ago•9 comments

Restoring a Sun SPARCstation IPX Part 1: PSU and Nvram

https://www.rs-online.com/designspark/restoring-a-sun-sparcstation-ipx-part-1-psu-and-nvram
45•ibobev•2h ago•23 comments

DARPA's new X-76 Experimental Plane

https://www.darpa.mil/news/2026/darpa-new-x-76-speed-of-jet-freedom-of-helicopter
21•newer_vienna•1h ago•16 comments

Fontcrafter: Turn Your Handwriting into a Real Font

https://arcade.pirillo.com/fontcrafter.html
328•rendx•8h ago•110 comments

Flash media longevity testing – 6 years later

https://old.reddit.com/r/DataHoarder/comments/1q6xnun/flash_media_longevity_testing_6_years_later/
73•1970-01-01•1d ago•26 comments

Jolla on track to ship new phone with Sailfish OS, user-replaceable battery

https://liliputing.com/the-new-jolla-phone-with-sailfish-os-is-on-track-to-start-shipping-in-the-...
72•heresie-dabord•1h ago•29 comments

What I Always Wanted to Know about Second Class Values

https://dl.acm.org/doi/epdf/10.1145/3759427.3760373
7•todsacerdoti•1h ago•0 comments

Ireland shuts last coal plant, becomes 15th coal-free country in Europe (2025)

https://www.pv-magazine.com/2025/06/20/ireland-coal-free-ends-coal-power-generation-moneypoint/
648•robin_reala•7h ago•391 comments

Reverse-engineering the UniFi inform protocol

https://tamarack.cloud/blog/reverse-engineering-unifi-inform-protocol
96•baconomatic•5h ago•38 comments

FreeBSD Capsicum vs. Linux Seccomp Process Sandboxing

https://vivianvoss.net/blog/capsicum-vs-seccomp
75•vermaden•5h ago•22 comments

US Court of Appeals: TOS may be updated by email, use can imply consent [pdf]

https://cdn.ca9.uscourts.gov/datastore/memoranda/2026/03/03/25-403.pdf
468•dryadin•11h ago•364 comments

Florida Judge Rules Red Light Camera Tickets Are Unconstitutional

https://cbs12.com/news/local/florida-news-judge-rules-red-light-camera-tickets-unconstitutional
66•1970-01-01•49m ago•78 comments

Algebraic topology: knots links and braids

https://aeb.win.tue.nl/at/algtop-5.html
25•marysminefnuf•3h ago•1 comments

An opinionated take on how to do important research that matters

https://nicholas.carlini.com/writing/2026/how-to-win-a-best-paper-award.html
5•mad•1h ago•0 comments

Show HN: VS Code Agent Kanban: Task Management for the AI-Assisted Developer

https://www.appsoftware.com/blog/introducing-vs-code-agent-kanban-task-management-for-the-ai-assi...
72•gbro3n•7h ago•36 comments

Agent Safehouse – macOS-native sandboxing for local agents

https://agent-safehouse.dev/
761•atombender•21h ago•172 comments

FFmpeg at Meta: Media Processing at Scale

https://engineering.fb.com/2026/03/02/video-engineering/ffmpeg-at-meta-media-processing-at-scale/
149•sudhakaran88•12h ago•73 comments

The Window Chrome of Our Discontent

https://pxlnv.com/blog/window-chrome-of-our-discontent/
113•zdw•2d ago•61 comments

Unlocking Python's Cores:Energy Implications of Removing the GIL

https://arxiv.org/abs/2603.04782
95•runningmike•3d ago•69 comments

No leap second will be introduced at the end of June 2026

https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/P6D36VZSZBUSSTSMZKFXKF4T4IXWN23P/
46•speckx•5h ago•38 comments

Is legal the same as legitimate: AI reimplementation and the erosion of copyleft

https://writings.hongminhee.org/2026/03/legal-vs-legitimate/
107•dahlia•2h ago•106 comments

Microscopes can see video on a laserdisc

https://www.youtube.com/watch?v=qZuR-772cks
590•zdw•1d ago•82 comments

Show HN: I gave my robot physical memory – it stopped repeating mistakes

https://github.com/robotmem/robotmem
4•robotmem•1h ago•0 comments

Segagaga Has Been Translated into English

https://www.thedreamcastjunkyard.co.uk/2026/02/segagaga-has-finally-been-translated.html
79•nanna•1d ago•30 comments

Grammarly is offering ‘expert’ AI reviews from famous dead and living writers

https://www.wired.com/story/grammarly-is-offering-expert-ai-reviews-from-your-favorite-authors-de...
84•jmsflknr•4d ago•101 comments