Resource-management and business simulation game built with C++, Win32, DirectX11, and Dear ImGui.
The player builds an industrial economy by:
- purchasing and upgrading buildings,
- managing production investments,
- trading resources in a dynamic market,
- growing reputation to unlock stronger opportunities.
include/: public headerssrc/: implementation filestests/: Catch2 unit tests for core simulation moduleslib/: third-party dependencies (Dear ImGui)
- Open
Tycoon.sln. - Retarget toolset if prompted.
- Build and run
Tycoonfrom Visual Studio.
Notes:
- The project is configured for C++20.
- Warning level is set to strict (
/W4and/WX).
This path builds the core simulation library and unit tests.
cmake -S . -B build -DTYCOON_BUILD_TESTS=ON
cmake --build build --config Debug
ctest --test-dir build -C Debug --output-on-failureFormat code:
clang-format -i include/**/*.h src/**/*.cpp tests/**/*.cppRun static analysis:
clang-tidy src/*.cpp src/**/*.cpp -- -Iinclude -Isrc -std=c++20