An unofficial, read-only Hacker News reader.

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

423 points by mday404 1 day ago | bouncemarket.minhanhday.com | 146 comments on HN

View full thread · View on Hacker News

Comment thread (12)

  1. Fun little game, but the drop needs to be slower so it is easier to bet. Odds jumping from 0.01 to 0.99 in like one tenth of a second makes it hard to play
    Replies (3)
    1. The drop is pre-simulated over SSE anyway, so adding a bit more delay between frames would fix this. Right now normal ping moves the odds before the click even hits the server.
      Replies (1)
      1. > The drop is pre-simulated over SSE anyway

        Trying to understand this phrase but its meaning escapes me

        Replies (2)
        1. The backend runs the physics upfront and just streams the coordinates to the browser via Server-Sent Events.
        2. The server calculates the balls’ motions and uses Server Sent Events to stream the results to the browser.
          Replies (1)
          1. Ah so like a replay! Is SSE a specific term of art or does any event generated on a web server sent to a client count regardless of technology? At the risk of sounding sarcastic (I’m not), why did you capitalize S, S, and E?
            Replies (2)
            1. It's a specific web tech: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent...

              But in colloquial usage I'd expect people probably do use that phrase referring to any system for events sent to clients by servers, such as long polling or websockets.

              Continue this thread (1 replies) →

            2. Continue this thread (1 replies) →

    2. this was because of a bot added to the game, it was easier
    3. Infinite money glitch if there was real money involved