Created according to the technical specifications presented in this course
The point of the project is a step-by-step simulation of a 2D world populated by herbivores and predators. In addition to creatures, the world contains resources (grass), which the herbivores feed on, and static objects with which you can't interact - they just fill the space.
- Creature actions:
Herbivores
can either go towards theGrass
or eat itPredators
can either go towards theHerbivores
or eat them
- Breadth-first search used as pathfinding algorithm
- algorithm excludes stationary (
Tree
&Rock
) objects from pathfinding
- algorithm excludes stationary (
Renderer
displays the current state of the simulation in the console output