Turret game

Create a turret game where an AI shoots enemy units and protects friendly units.
Train an AI to play as the turret, using Reinforcement Learning.
The player wins if 10 friendly units enter the turret, and loses if 1 enemy unit enters the turret or 2 friendly units are killed.
A unit is considered to enter the turret when it is 2.5 units away from the turret.
A unit will die with 1 shot.