-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Using common OOP and modelling principles:
- Create a simulation of a 2D world with wild animals roaming around it.
- There should be two types of animals - herbivores and carnivores.
- Each animal should have a position in the world that changes in a random direction on each world cycle (e.g. second, minute, day, etc.).
- If a herbivore and a carnivore have the same position at a given cycle, there is a 60% chance of the herbivore being eaten by the carnivore.
- The world ends when there are no herbivores left in the world.
Bonus:
Implement each task in a separate branch and submit pull requests linked to this issue. Hint: google "github flow" and try following it.
Metadata
Metadata
Assignees
Labels
No labels