Inspiration
Our inspiration for this was the recent short squeeze event from 3 weeks ago on Wall Street which bankrupted many hedge funds and grabbed a lot of media attention.
What it does
Our program draws lines from one price to the next price and keeps updating it until the PiggyBank is at zero, simulating a real stock chart, but in the form of a game.
How we built it
Firstly we focused on getting the core mechanics right, like drawing a line between two points and generating random numbers. Then we made it so it would generate more connected lines and set the random values to be actual values that could appear on a real stock chart.
Challenges we ran into
At first, we tried to make the window shift from right to left over time, but we changed it so that it would just update the chart whenever the “space bar” was pressed. We had many difficulties with the formatting of the page, as we could not get the images and game to work well with different monitor sizes.
Accomplishments that we're proud of
First of all that we finished on time and delivered a functional project which we are all proud of, secondly that even though some of us didn’t know how to code in JavaScript, we still proved useful. Last but not least, we all learned something new or polished a skill which made these days of work worth it, not to mention that we met new people and had fun.
What we learned
Two of our members learned some JavaScript and html during this hackathon.
What's next for Speed Stocks
What’s next for Speed Stocks is making it look more visually appealing. We can add more points so that it looks more similar to a stock price chart. We could add trend lines to give more details about where the price is going for the user. We can also add different difficulty settings to make the game more easier or challenging for the user. We can add a score tracker and a play again button.


Log in or sign up for Devpost to join the conversation.