5 ms·
Show HN: A tiny browser game where you have 45 seconds to trade a fake stock
- davjhan 5y agoHey, I want to share a small game I made. Here's the link to the github. [1] This was made with Sveltekit, TailwindCSS, ChartJS, and hosted as a static website on netlify. [1] https://github.com/davjhan/paper-trader-game https://github.com/davjhan/paper-trader-game
- Zababa 5y agoIt's a fun game! A nice addition would be to tell the player at the end what was the maximum that they could make, and how.
- davjhan 5y agoThat's a great suggestion, to show potential max loss and max gain.
- sen 5y agoOr seeing a "ghost" line showing either what a (simple/mostly-random) AI/NPC is doing, or other current/previous players of the same seed. Something to make it more competitive/addictive. It's still pretty fun though for sure.
- quickthrower2 5y agoFeels like the flappy bird of paper trading! Short sweet and addictive.
- theginger 5y agoThis is brilliant
- Hydraulix989 5y agoIn practice, you're not just betting on a random walk, you're also reading the news and thinking about the company's outlook, its thesis, and its public sentiment. You also have other indicators like volume, and fundamentals such as earnings. There's day trading and longer time horizon investing. As you can see, it's a bit easier to do the latter instead :)
- anm89 5y agoIt feels like the goal is to make some point about how stock trading is gambling or just a losing proposition but you'd have to be a total idiot to trade in a manner anything like this game in real life. Of course if you treat a random stock as a roulette wheel you might lose. That's not much of a profound insight.
- muzani 5y agoThis feels rigged. It seems to go up when I sell and go down when I hold. It could just be that I'm a bad player, though.
- deepdmistry 5y agoNot rigged, i had opposite experience and made 500$ after a couple of tries
- adibalcan 5y agoIf you are curious about the logic of values used in this game, I found a comment in the source code: /* * Generates price data by calculating a 0%..7% movement magnitude multiplied by the "market sentiment", * which is either super bearish, bearish, or bullish. The probabilities of the sentiment can also be configured * marketSentimentProbs. */
- greatNespresso 5y agoWhat a sweet game, really fun to play