News for hackers. Stuff that matters.
Re:Show HN: A tiny browser game where you have 45 seconds to... by Hydraulix989 on Monday August 02, 2021 @05:21PM (#28042825)
In 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 :)
Re:Show HN: A tiny browser game where you have 45 seconds to... by davjhan on Monday August 02, 2021 @12:37PM (#28038983)
Hey, 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

Re:Show HN: A tiny browser game where you have 45 seconds to... by Zababa on Monday August 02, 2021 @05:54PM (#28043190)
It'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.
Re:Show HN: A tiny browser game where you have 45 seconds to... by sen on Monday August 02, 2021 @10:55PM (#28045247)
Or 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.

Re:Show HN: A tiny browser game where you have 45 seconds to... by davjhan on Monday August 02, 2021 @05:58PM (#28043224)
That's a great suggestion, to show potential max loss and max gain.
Re:Show HN: A tiny browser game where you have 45 seconds to... by quickthrower2 on Monday August 02, 2021 @07:39PM (#28044090)
Feels like the flappy bird of paper trading! Short sweet and addictive.
Re:Show HN: A tiny browser game where you have 45 seconds to... by adibalcan on Tuesday August 03, 2021 @07:31AM (#28047972)
If 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. */

Re:Show HN: A tiny browser game where you have 45 seconds to... by anm89 on Tuesday August 03, 2021 @02:57AM (#28046379)
It 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.

Re:Show HN: A tiny browser game where you have 45 seconds to... by muzani on Tuesday August 03, 2021 @05:41AM (#28047273)
This 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.
Re:Show HN: A tiny browser game where you have 45 seconds to... by deepdmistry on Friday August 06, 2021 @04:12PM (#28092210)
Not rigged, i had opposite experience and made 500$ after a couple of tries
Re:Show HN: A tiny browser game where you have 45 seconds to... by greatNespresso on Thursday August 05, 2021 @03:15PM (#28078198)
What a sweet game, really fun to play
Re:Show HN: A tiny browser game where you have 45 seconds to... by theginger on Monday August 02, 2021 @04:51PM (#28042472)
This is brilliant