Skip to content

A turn-based, CLI, stock market betting game implemented in C#. Assume the role of the Oligopoly Investments CEO, buy stocks in various companies, and then attempt to sell them at a higher price to increase your net worth.

License

Fuinny/Oligopoly

Repository files navigation

Oligopoly
A stock market betting game

GitHub Repository dotnet-console-games Repository C Sharp Language Target Framework Target Framework

📖 Description

Oligopoly is a command-line interface (CLI) game written in C# that allows players to buy and sell shares of various in-game companies. The value of these shares is affected by in-game events that occur every turn. The goal of the player is to buy shares of the company and then try to sell them at a higher price in order to increase their net worth.

╔════════════════════════════════╦════════════╦══════════════════════╦═════════════════╗
║ Company                        ║   Industry ║          Share Price ║        You Have ║
╠════════════════════════════════╬════════════╬══════════════════════╬═════════════════╣
║ Bingoo                         ║        Web ║              1372.28 ║               1 ║
║ Quantum Software               ║   Software ║              2094.98 ║               0 ║
║ Edison Incorporated            ║     Energy ║              1036.80 ║               2 ║
║ Netfilm                        ║     Movies ║               838.80 ║               1 ║
║ COBRA Security Consulting      ║       Army ║              1283.29 ║               4 ║
║ Rockland Games                 ║      Games ║               885.15 ║               0 ║
║ Astro Technologies             ║      Space ║              2319.93 ║               0 ║
╚════════════════════════════════╩════════════╩══════════════════════╩═════════════════╝

You have: 900.00$     Your Net Worth: 10317.83$     Current Turn: 10

[*] Wait For Market Change
[ ] Buy
[ ] Sell
[ ] More About Companies

❗ Disclaimer

Please note that all in-game companies and events in Oligopoly are completely fictitious and have no relation to real entities or events. They do not reflect the author's point of view on these companies and events, and coincidences are accidental. The game is intended for entertainment purposes only.

This is not a professional project, so don't expect high quality code or regular updates.

❓ How to start the game

You can start the game using any of these methods:

Download release version of the game [Click to see more information]
  1. Go to the releases page.
  2. Find the latest game release and download .zip file, suitable for your operating system.
  3. Unzip the downloaded file to the folder where you will launch the game.
Compile the game using .NET Software Development Kit (SDK) [Click to see more information]
  1. Make sure that you have .NET Software Development Kit (SDK) installed.
  2. Download the game code.
  3. Open a command prompt (or terminal) and navigate to the directory where the downloaded code is located.
  4. Run the dotnet run command from the command line (or terminal).
Play online version of the game [Click to see more information]
  1. Go to dotnet console games repository.
  2. Find Oligopoly in the table and click Play Now.
  3. Also play other games from this repository :D

Note #1: This version of the game was created with the help of ZacharyPatten and therefore differs slightly from the one presented in this repository. If you want to play with your own companies or events, then use the methods above.

Note #2: You can also download the web version from the dotnet console games repository and run it locally.

After following any of these methods, you should be able to run Oligopoly in your command line (terminal). If for some reason you didn't succeed, let me know :D

Also, thanks for playing or trying to play this simple CLI game! It means a lot :P

🔎 Additional information

If you want to add your content to the game or you are just curious about how the game files are organized for some reason, you can look at this kind of documentation.

❤️ Special thanks

I want to give a special thanks to ZacharyPatten for creating the web version, as well as improving the code and concept of the game!

⚖️ License

This project and Oligopoly logo are licensed under the MIT License.

About

A turn-based, CLI, stock market betting game implemented in C#. Assume the role of the Oligopoly Investments CEO, buy stocks in various companies, and then attempt to sell them at a higher price to increase your net worth.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages