frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours

https://www.hormuz-havoc.com/
25•kupadapuku•3h ago
I built a satirical browser game to share with friends (Hormuz Havoc: you play an American president managing a crisis in the Middle East, only "loosely" inspired by current events). I had good fun making this, but that's not necessarily the interesting part.

The interesting part was that within a few hours of sharing it with my friends, some of them set about trying to overrun the leaderboard by launching a swarm of AI bots to learn the game and figure out how to get the highest score. This set off a game of cat-and-mouse as they found vulnerabilities and I tried patching them.

Within hours of sharing, someone used the Claude browser extension to read game.js directly. Large parts of the scoring formula, action effect values, and bonus thresholds were sitting in client-side JavaScript - this was a trivial thing even a human could've found, but a human would've still had to play the game, whereas the AI bot just optimised directly against the scoring formula. It meant that the first AI already scored 2.5x higher than the best human player by optimising directly against the source code rather than playing the game.

Straightforward fix: moved the entire game engine server-side. The client is now a dumb terminal, it sends an action ID, receives a rendered state. No scoring logic, no bonus thresholds, no action effects exist in the browser. The live score display uses a deliberately different formula as misdirection.

This increased the difficulty in finding bot-enabled hacks, so the subsequent bots tried brute-forcing the game, trying to game the RNG functions, and other methods.

But the next winning bot found a vulnerability where the same signed session token could be replayed. It would play turn N, observe a bad random event, replay the same token for turn N, get a different RNG outcome, keep the best one. Effectively branching from a single game state to cherry-pick lucky outcomes across 30 turns. Managed to 1.5x the previous bot's high score.

The bot's own description: "The key optimisation was token replay. Because the backend let the same signed state be replayed, I could branch from one exact game state repeatedly and continue from the luckiest high-value outcome each turn."

Fix here: consume a turn nonce atomically before any randomness is generated.

The current state is that the leaderboard is now split into human and AI-assisted. I think the capability of AI bots has flatlined a bit now. Perhaps Claude Mythos might be able to discover the next hackable exploit ¯\_(ツ)_/¯

Happy to go deeper on any of the above - or just enjoy the game! Feel free to try your own AI-powered leaderboard attempt too!

Comments

BahaaKhateeb123•29m ago
The fact that it got overrun in 24 hours is almost more interesting than the game itself. Says a lot about how cheap and easy it is to deploy agents at scale now — the interesting question is what happens when that hits products that actually matter.
keyes343•19m ago
Will you be releasing more such funny scenario based games. I laughed a lot reaching the end.
xg15•12m ago
> If your approval rating gets too low, your party will impeach you.

I like how in this game, the approval rating actually means something.

selectodude•4m ago
That’s how you know it’s loosely inspired by current events.
madamelic•10m ago
Can you explain how I can invade Kharg Island more than once? It seems to indicate that it is possible but the card says it is a one-time thing.

Also, the press shield + Fox News boosts don't seem to do anything with regards to subsequent events. Are they supposed to do something or are they just for show / humor?

bhollan•6m ago
I've been looking for a game from the "flash era" that's incredibly similar to this one! It was "fling-this-wad-of-duct-tape-to-clog-the-black-hole" as a metaphor, but I forget the name. It had similar "orbit" dynamics, but the entire game was setting the initial angle/velocity and then the orbits just 'did their thing' from there.

This looks really cool! I'm already up to 11 as my best!

If you like this, you will for sure love the game "12 Orbits"!

Show HN: Pardonned.com – A searchable database of US Pardons

106•vidluther•7h ago•34 comments

Show HN: Hormuz Havoc, a satirical game that got overrun by AI bots in 24 hours

https://www.hormuz-havoc.com/
27•kupadapuku•3h ago•6 comments

Show HN: Waffle – Native macOS terminal that auto-tiles sessions into a grid

https://waffle.baby
2•olleeolleeollee•35m ago•0 comments

Show HN: The Musical Manifold [pdf]

https://esenbilproductions.replit.app/The_Musical_Manifold.pdf
2•ersinesen•38m ago•0 comments

Show HN: I'm organizing a vibe coding game dev competition

https://vibej.am/2026/
4•pieterhg•1h ago•0 comments

Show HN: Bunqueue – Saga workflow engine for Bun with embedded SQLite

https://bunqueue.dev/guide/workflow/
2•kernelvoid•1h ago•0 comments

Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge

https://kampfinsel.com/
4•parzivalt•1h ago•1 comments

Show HN: FluidCAD – Parametric CAD with JavaScript

https://fluidcad.io/
136•maouida•19h ago•32 comments

Show HN: Eve – Managed OpenClaw for work

https://eve.new/login
62•zachdive•20h ago•33 comments

Show HN: A WYSIWYG word processor in Python

https://codeberg.org/chrisecker/miniword
74•chrisecker•19h ago•33 comments

Show HN: Marimo pair – Reactive Python notebooks as environments for agents

https://github.com/marimo-team/marimo-pair
132•manzt•3d ago•34 comments

Show HN: Keeper – embedded secret store for Go (help me break it)

https://github.com/agberohq/keeper
61•babawere•1d ago•32 comments

Show HN: I built a Cargo-like build tool for C/C++

https://github.com/randerson112/craft
168•randerson_112•1d ago•164 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
163•SirHound•2d ago•106 comments

Show HN: Druids – Build your own software factory

https://github.com/fulcrumresearch/druids
61•etherio•2d ago•13 comments

Show HN: Moon simulator game, ray-casting

https://mooncraft2000.com
111•JKCalhoun•4d ago•25 comments

Show HN: HyperFlow – A self-improving agent framework built on LangGraph

6•lablnet•10h ago•0 comments

Show HN: Unlegacy – document everything, from COBOL to AI generated code

https://www.unlegacy.ai/
8•Absonsonson•21h ago•0 comments

Show HN: Lmscan – Detect AI text and fingerprint which LLM wrote it (zero deps)

https://github.com/stef41/lmscan
3•zach22•10h ago•0 comments

Show HN: Do All the Things

https://www.doallthethings.app/
20•brainbun•1d ago•6 comments

Show HN: Rust based eBook library for Python, with MIT license

https://github.com/arc53/fast-ebook
33•larry-the-agent•1d ago•3 comments

Show HN: Figma for Coding Agents

https://getdesign.md
11•omeraplak•22h ago•6 comments

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
785•sam-bee•4d ago•236 comments

Show HN: QVAC SDK, a universal JavaScript SDK for building local AI applications

29•qvac•1d ago•13 comments

Show HN: Orange Juice – Small UX improvements that make HN easier to read

http://oj-hn.com/
143•latchkey•2d ago•157 comments

Show HN: Guruka.com – free guided mediations. No signup, private, works offline

https://guruka.com/
35•eummm•1d ago•16 comments

Show HN: I pipe free sports streams into Jellyfin – no ads, just HLS

https://github.com/pcruz1905/hls-restream-proxy
115•pruz•3d ago•36 comments

Show HN: We built a camera only robot vacuum for less than $300 (well almost)

https://indraneelpatil.github.io/blog/2026/robot-vacuum/
108•indraneelpatil•5d ago•55 comments

Show HN: Unicode Steganography

https://steganography.patrickvuscan.com
56•PatrickVuscan•4d ago•14 comments

Show HN: Zeroclawed: Secure Agent Gateway

https://github.com/bglusman/zeroclawed
6•bglusman•1d ago•3 comments