Reinforcement learning in Unity
DQN vs PPO vs NEAT, from scratch
My A-Level Computer Science project (full write-up): agents learn a game of tag in Unity using three reinforcement-learning algorithms I implemented without any ML libraries.

Details
- Neural networks (with an Adam optimiser), policy optimisation, and a NEAT genetic algorithm with mutation, crossover and speciation, all from scratch.
- Configurable environment: adjust hyperparameters before a run and watch learning progress in 3D.
- Per-round metrics (wins, reward, distance) exported to CSV and graphed live.
- 18 tests, including hand-checked PPO and DQN maths and backprop within 5% of a Wine-dataset benchmark.
