[Community Puzzle] TryAngle Catch

https://www.codingame.com/multiplayer/bot-programming/tryangle-catch

Send your feedback or ask for help here!

Created by @eulerscheZahl,validated by @trictrac,@kovi and @oreshnik.
If you have any issues, feel free to ping them.

There must be end condition when there is only one unit left and there are no chances to spawn.

Oh right, one needs at least 2 units to capture a triangle.
I’ve added an additional exit condition.

Thnx. Now my lonely unit will die with honor ))