Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.51 KB

File metadata and controls

30 lines (21 loc) · 1.51 KB

enterprise-tycoon

A simple business management simulation game written in modern C++23.

Overview

The goal of the game is to grow your startup into a highly valued enterprise without going bankrupt. As a CEO, you manage production, storage, marketing, and corporate finances on a month-by-month basis.

The game economy relies on four types of employees, each with unique traits and impacts on the company's performance:

  • Engineers (inz) - Increase the market price of your product.
  • Warehouse Workers (mag) - Expand inventory capacity.
  • Marketers (mkt) - Generate market demand.
  • Workers (rob) - Produce the actual goods.

You can also take out bank loans to scale faster, but beware of interest rates and debt limits! The game is won when the company's valuation exceeds a predefined target, and lost if the account balance drops below zero.

Gameplay & Controls

The game is entirely text-based. Each turn represents one month of operations. Players interact with the game using the following commands:

  • lp - List all current employees (names, traits, and salaries).
  • zinz - Hire an Engineer.
  • zmag - Hire a Warehouse Worker.
  • zmkt - Hire a Marketer.
  • zrob - Hire a Factory Worker.
  • kred - Take out a bank loan (prompts for amount and repayment period).
  • kt - End the current turn (calculates monthly revenue, pays salaries/loans, and advances to the next month).

Requirements

To build this project, you need a compiler that supports the C++23 standard.