This is a small "snake" game written in a "multi agent simulation" style. The player, the food, and the scoreboard all are agents. Enemies, obstacles etc. could be added as further agents.
Find documentation in the corresponding Blog post: Multi Agent Snek.