Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation of war between insects

The simulator was developed in order to visualize the war between four insect species:

  • ants (red points),
  • wasps (blue points),
  • dytiscidaes (white points),
  • thanasimuses (green points).

Species and their enemies

  • Ants attack wasps.
  • Wasps attack dytiscidaes.
  • Dytiscidaes attack thanasimuses.
  • Thanasimuses attack ants.

Completion of the simulation

  • There are only insects of one species in the environment.
  • There are only insects of two species that don't attack each other in the environment.

Eusocialities and their roles

  • Soldiers need to kill the enemy insect.
  • Workers need to cure the injured (alive) insect from their family.
  • Drones need to inseminate the queen and regenerate.
  • Queens need to be inseminated by drones in order to born the new soldiers.

Dependencies

sudo apt install cmake
sudo apt install libsfml-dev

Building the simulation

bash build_simulation.sh

Running the simulation

bash run_simulation.sh

About

Simulation of war between insects

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages