An unofficial, read-only Hacker News reader.

Show HN: bouncemarket – a live prediction market game for a bouncing ball (opens external site)

413 points by mday404 1 day ago | bouncemarket.minhanhday.com | 144 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. that's true towards the end, but it's harder than it sounds because you don't actually have the precise position and velocity -- you just have the position rounded to the nearest 0.1px.

    I ran the physics simulation and a 10^-12 px change in starting X position yields a different outcome more than 30% of the time, so knowing the ball's position to the nearest 0.1px only gives you a good guess, not an oracle

    Replies (2)
    1. Perhaps with sufficiently many samples, you could reconstruct the floats underlying the rounded output, if there's no randomized dithering applied.
    2. Butterfly flaps its wings