Show HN: bouncemarket – a live prediction market game for a bouncing ball

mday404 349 points 117 comments November 27, 2026
bouncemarket.minhanhday.com · View on Hacker News

a ball will fall. trade on where it lands. I made this game! Some technical details: The entire drop of the ball is simulated server-side, then streamed to each client as server-sent events with a small buffer. Every drop is deterministic from its starting position, so rounds can be replayed exactly for later analysis, but tiny variations in starting position can change the ultimate outcome. There's some AI traders to keep the market moving, but they drop out in any round that has more than five people. They operate using a naive set of rules that I wrote for them, so they're not too hard to beat -- it's when the market is full of real people that it gets tricky. Curious to get feedback on anything you would change, and especially whether the mechanics were clear right away or not.

Discussion Highlights (20 comments)

elisgillberg

Hehe this is awesome!

frenchmajesty

Surprising fun and awesome! Love it. It was not immediately clear how the game was played but it came to me soon enough. I think one or two "trial/tutorial" rounds would go a long way to give me a proper shot at the leaderboard. I wasted my first 2-3 balls as I was looking at the UI trying to understand how to play.

suzukivenom

bouncemarket: bought Right x52 at avg 0.19, landed Right, +42.21 in one round https://bouncemarket.minhanhday.com/r/FYv-qiLU

imeanwhatdoikno

This is kind of genius

setnone

cool! up next: bouncemarketbot

dpmartinez

This looks fun, but I imagine someone somewhere in a financial exchange company looking at this and thinking: "bouncing ball futures contracts, would be a thing to offer our sophisticated clients."

vova_hn2

Completely ignoring the ball and just buying cheap shares is a surprisingly efficient strategy. Often I'm able to get both kinds of share for cheap, so I win regardless of the outcome.

joshribakoff

So fun, and easy to profit, at least for a few minutes. Seems like if you played this professionally 40hrs a week full-time it would get tiring fast. Maybe there is a metaphor in there.

gpm

I'd like to see how much the market maker is making/losing.

echoangle

Is there a way to sell shares before resolution?

franze

make it so that the important stuff is the height of the viewport above fold. i don't see the ball falling at the start

rickcarlino

Finally a useful application for predictive markets.

eterm

It annoys me we can't put in limit orders, as with a touch screen the latency kills you as the price changes underneath you! ( Annoys is too strong a word, it's just a game! )

JonnieCache

Do it with a camera and a real ball lol

folli

"AI Traders" - "naive set of rules". Definitive proof that if..else is AI now. Jokes aside, cool game. Introducing trading fees would be interesting to make it more realistic in terms of buying both sides.

matthova

Love the concept. Great implementation

iamgopal

are there keyboard short cut ?

xp84

It’s too hard to buy multiple shares. The price changes super fast so I’d like to have buy 5,10,100 shares buttons too. Or something like that. Super fun though. Love the idea and the execution.

ex-aws-dude

This is what I pretend my stock buying strategy is not underneath

theophrastus

If it is an approximal simulation of Galton board[1] then wouldn't wagering on the side the ball starts on have a positive outcome over time? [1] https://en.wikipedia.org/wiki/Galton_board

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed