Skip to content

A repository for Investor, a Python text-based stock market trading game.

License

Notifications You must be signed in to change notification settings

mattpabi/investor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Investor

This is the repository for my first official programming project, which required me to develop an entire text-based game in Python.

ABOUT THE GAME

"Investor" is an investing/trading simulation game — defined, designed, produced in Python (programming language) — that enables players to learn the risks and rewards involved in the decision-making and risk-taking of financial markets. Players start off with a balance of $100,000 to invest and grow their money through their chosen asset(s) to accomplish the goal to win the challenge by achieving $1,000,000 (needs to be in cash balance, not portfolio value). A fully randomised set of economic events will be presented to players, and they will be given the option to buy, hold, or sell.

In order to win the game, players must search for clues in the news, read between the lines, and play some hunches. The game will end once the player has beaten the challenge, or run out of money. They may type QUIT at any time to leave the game.

Notes

  • I suggest running this game in your desired terminal, in fullscreen, as the gaming experience when played in a terminal is far superior than when played in Python IDLE.
  • You can find the final code which was submitted for evaluation here (submitted on October 12, 2022).
  • I may continue to update the code and refine it to how I like, when I find the time to do so.