Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual World

A simulation of an ecosystem where the player controls a human character.

Simulation Features

Combat: Strength-based resolution where the stronger organism wins, unless special abilities interfere.

Reproduction: Species-specific breeding logic where parents find an adjacent free cell to spawn offspring.

TUI (Terminal User Interface): Built with the NCurses library, providing a retro, windowed interface with message logging.

Controls

Arrows / Keys: Advance turn/Move Human.

a: Activate special abilities.

s: Save current simulation state.

r: Read/Load last saved state.

q: Quit the simulation.

Prerequisites

This project requires Ncurses. You can install it via:

sudo apt install libncurses5-dev libncursesw5-dev

Run and compile the project

mkdir build
cd build
cmake ..
make
./VirtualWorld

About

Virtual World Simulation made for Object Oriented Programing Course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages