Predators and Preys ASMR c++ simulation SFML

Опубликовано: 22 Март 2020
на канале: Adam Cs
30,817
602

Predator and Prey simulation written in c++ with SFML library.

New video:    • Video  

Red square: Predator
If there is an adjacent Prey cell, "eats it" and turns it to a Predator
Tries to move to an adjacent empty cell
Health decreases, if hits 0 it dies

Green square: Prey
Tries to move to an adjacent empty cell
Starts from 0 health, grow by 1 in each turn
If health is greater then maxHealth, duplicates itself (creates a new Prey)


Смотрите видео Predators and Preys ASMR c++ simulation SFML онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Adam Cs 22 Март 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 30,817 раз и оно понравилось 602 людям.