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.

298 points | 92 commentspage 5
hei-lima 4 hours ago|
Really cool!
d--b 4 hours ago||
A prediction market should allow us to sell
iamgopal 6 hours ago||
are there keyboard short cut ?
mday404 4 hours ago|
just added! left and right arrows
setnone 6 hours ago||
cool! up next: bouncemarketbot
mday404 5 hours ago|
In hindsight I'm realizing I should have had a bot high scores and real player high scores since both require skill but in different ways
NooneAtAll5 5 hours ago||
another gambling website?
hsng95 2 hours ago||
[dead]
RemingtonDavies 4 hours ago|
[dead]