{"by":"mday404","descendants":149,"id":50667726,"kids":[50668483,50668037,50671292,50677526,50667889,50669412,50670769,50668346,50668451,50703185,50668958,50669925,50669518,50673384,50670675,50667972,50668043,50668217,50669196,50668724,50669808,50668059,50669762,50672451,50668054,50667813,50670459,50668674,50677575,50668803,50672323,50675948,50668812,50675621,50667849,50668007,50668184,50672801,50668367,50673092,50675700,50668112,50668694,50676992,50672343,50670481,50669235,50668637,50668083,50672289,50668064,50671719,50668993,50674746,50672197,50668096,50672345,50669138,50668258,50668006,50671277,50675437,50684226,50668604,50681013,50672337,50670551,50698125,50669097],"score":430,"text":"a ball will fall. trade on where it lands.<p>I made this game! Some technical details:<p>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.<p>There&#x27;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&#x27;re not too hard to beat -- it&#x27;s when the market is full of real people that it gets tricky.<p>Curious to get feedback on anything you would change, and especially whether the mechanics were clear right away or not.","time":1795791710,"title":"Show HN: bouncemarket – a live prediction market game for a bouncing ball","type":"story","url":"https://bouncemarket.minhanhday.com/"}