![:scale 90%](/assets/images/20200528/20200528_loops_why.png)
The goal of a fox is to reproduce before it dies.
The fox dies for sure after 10 years in the wild. But it can die earlier due to poison (one of the possible `foods`) or by an enemy (all `enemies` except `"safe"`).
The "fox game" ends when the fox succeeds to reproduce or when it dies.
![:scale 50%](/assets/images/20200528/20200528_fox_slotmachine.png) --- class: left, middle ## Bonus challenge: back to Blockly
Try solving [level 10](https://blockly.games/maze?lang=en&level=10&skin=0).