Top
Best
New

Posted by mday404 6 hours ago

Show HN: bouncemarket – a live prediction market game for a bouncing ball(bouncemarket.minhanhday.com)
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.

296 points | 90 commentspage 3
imeanwhatdoikno 6 hours ago|
This is kind of genius
echoangle 6 hours ago||
Is there a way to sell shares before resolution?
gpm 5 hours ago||
Buying a share on the opposite side is effectively selling a share.
mday404 4 hours ago||
No, I thought about it but I wanted to keep the UI as simple as possible. Definitely would make the market more interesting in a future update!
gpm 6 hours ago||
I'd like to see how much the market maker is making/losing.
dpmartinez 6 hours ago||
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."

folli 5 hours ago||
"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.

furyofantares 5 hours ago||
Hilarious and fun. Btw if I tap furiously on a button the page zoomed in every time the button ends up disabled.
mday404 3 hours ago|
should be fixed now!
elisgillberg 6 hours ago||
Hehe this is awesome!
jojogeo 6 hours ago|
Agreed; throwing all my "free money" on one side, after guessing correctly several times in a row with small stakes had me literally shouting in excitement, just before losing it all :')

I can see why people throw money at gambling, if its easy enough to do.

deadbeefer 6 hours ago||
Y'know, the more I think about it... a lot of the games that hook ya have this element of prediction. Even (especially?) stuff that's deterministic without true RNG. Even really fast-paced twitch games tend to push your reflexes to the point where you have to predict in advance. Sorta triggering that gambler's reflex. Pre-aiming hitscan weaps at corners and pre-firing projectiles where feet will land in many shooters feels like they trigger something similar.
bee_rider 3 hours ago|||
That’s an interesting thought.

Whether pre-aiming has a downside or not seems to depend on map design? Like if there are multiple plausible corners, you have to pick one, so there’s a cost of not picking the other. Other games have simpler maps, if there’s only one plausible corner I guess there isn’t much cost to aiming at it.

Of course, defining plausible corners relies on map knowledge. Actually I think that’s one of the reasons I quit playing online shooters didn’t want to put in the level of effort required to make those gambles fun. Random death is boring.

cogythea 4 hours ago|||
Yep, having that "I can see where this is going" moment is what pulls you in, especially when you get it right. And then for gambling, it's when you start to think "I can see where this is going better than other people can", that's when you see real opportunity to win your fortune. For games like Poker, that's rare but entirely possible, but for games like OP's it's borderline impossible - but that doesn't stop the brain thinking it.
cush 5 hours ago|
Fun idea! The page shouldn’t zoom in when you tap rapidly - makes it impossible to play on iOS
mday404 3 hours ago|
fixed!
More comments...