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
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.
You can start the game using any of these methods:
Download release version of the game [Click to see more information]
- Go to the releases page.
- Find the latest game release and download .zip file, suitable for your operating system.
- 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]
- Make sure that you have .NET Software Development Kit (SDK) installed.
- Download the game code.
- Open a command prompt (or terminal) and navigate to the directory where the downloaded code is located.
- Run the
dotnet run
command from the command line (or terminal).
Play online version of the game [Click to see more information]
- Go to dotnet console games repository.
- Find Oligopoly in the table and click
Play Now
.- 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
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.
I want to give special thanks to ZacharyPatten for creating the web version, as well as improving the code and concept of the game!
Also thanks to everyone who helps improve this simple CLI game or just plays it. It really means a lot!
This project, Oligopoly logo and Oligopoly Documentation logo are licensed under the MIT License.