SkillAgentSearch skills...

CityBuilderGame

A simple city-building game

Install / Use

/learn @PhiGei2000/CityBuilderGame
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Image

City Builder Game

Overview

A simple city-building game using C++ and OpenGL.

Features

  • [x] GUI
  • [x] Street placement
  • [x] procedural terrain generation and terrain editing
  • [ ] Traffic
  • [ ] Buildings
  • [ ] Savegames
  • ...

Getting started

Check the requirements

Requirements:

  • CMake 3.22.1 and above
  • C++ 20
  • OpenGL 4.5

Packages (only on Linux):

Clone and build

1. Clone the repository

git clone --recursive https://github.com/PhiGei2000/CityBuildingGame.git

the --recursive option is only needed on windows to download the libraries from github.

2. Change your current directory to the downloaded project

cd ./CityBuilderGame

3. Run CMake to build the project

cmake --build ./build

After that keep sure you link or copy the res directory to the build directory

cp -r ./res ./build/

or to create a symbolic link

cd ./build && ln -s ../res res

3. Run build script (Linux)

bash ./build.sh

4. Start the game

./cityBuilderGame

Controls

| Button(s) | Description | | --- | ---| | WASD | Move | | QE | Rotate camera left/right | | RF | Rotate camera up/down | | ESC | Main menu | | B | Enter/Leave build mode | | F1 | Open debug panel | | F3 | Enter debug mode | | F4 | Show shadow buffer |

Issues and questions

Feel free to report issues and questions to the issues section.

Demonstration videos

Check out my YouTube playlist for demonstration of some features in the game.

License

This code is licensed under the GNU GLP license

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1mo ago
Forks1

Languages

C++

Security Score

95/100

Audited on Feb 1, 2026

No findings