Implementation of math game "Predator-prey"