Skip to content

evgenii-komornyi/SavannahGame

Repository files navigation

Savannah Game

Savannah Game

Iteration 1 Requirements:

  • 1. Console application;
  • 2. Pressing buttons A and L adds animals to the field;
  • 3. Two animal types: Antelope and Lion;
  • 4. Animals freely move on the field and try to: a. Antelope to avoid lion; b. Lion to catch and eat Antelope;
  • 5. Each animal takes portion of time from game engine to move and perform a special action;
  • 6. Each animal has vision range and moves based on it;

Iteration 2 Requirements:

  • 1. Add health metric for each animal;
  • 2. Decrease 0.5 health on each move;
  • 3. Increase health when antelope is eaten;
  • 4. Add die function for lack of health;
  • 5. Birth function when 2 animals are near each other for 3 consecutive rounds;

Iteration 3 Requirements:

  • 1. Create possibility to store your animal behavior as a separate assembly;
  • 2. Add possibility to catch imported animals and make sure that they will work in your Savanna’s engine (plugins);

Tests:

  • Code coverage 87.9%;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages