This project was developed as a world simulator for Object-Oriented Programming coursework. The simulation features a diverse ecosystem of animals, plants, and a user-controlled human.
The core simulation dynamics include:
- Reproduction of animals and plants.
- Predation and interactions, where stronger animals and poisonous plants impact the survival of other entities.
- Direct user control of the human character, enabling exploration and interaction within the simulated environment.
The C++ version of the simulator includes the following elements:
- Animals:
- Wolf
- Fox
- Sheep
- Turtle
- Antelope
- Plants:
- Belladonna
- Grass
- Guarana
- Sosnowsky Hogweed
- Sow Thistle
- Human: User-controlled character.
Visualization in the C++ version is achieved using ASCII characters:
To run the C++ simulation, execute the main file.
The Python version extends the C++ version with the addition of the Cyber Sheep and utilizes the Pygame library for graphical visualization:
To run the Python simulation, execute the Menu.py file.