Inspiration
We wanted to relate the theme of finance to our own personal interests. My teammate and I both got into investing and the stock market and wanted to base our project off of those interests.
What it does
Our game, Stock Simulator Go, is a console run game that simulates buying and selling in the stock market. Our projects run on Python 3 and have several levels for risk factors. Our game operates with the user first having a risk factor that they would like to use and simulates buying and selling stocks through a 6 year period with a starting amount of 100 thousand. To win the game the player must reach 200 thousand dollars, any other amount below that is a loss.
How we built it
We used Python 3 in Replit to make our project.
Challenges we ran into
Switching between years was and saving data such as the amount of money the user has and what stocks the user currently owns was a real struggle.
Accomplishments that we're proud of
We are proud of how we were able to keep track of the stocks the user currently owns and being able to buy new stocks or sell your old ones.
What we learned
We learned about how to use random numbers and time in our project.
What's next for Stock Simulator Go
We hope to make Stock Simulator Go into an actual game with actual art in the future.
Make sure to fork the Replit to run the code.
Built With
- python
- replit
Log in or sign up for Devpost to join the conversation.