Create a Pandemic Simulation with Unity III: Adding Artificial Intelligence

Multi-agent scenario. Blue cubes are controlled by AI they try to avoid red ones.

Getting Started

Background: Reinforcement Learning

Unity ML-Agents Toolkit

PandemicAgent.cs and PandemicArea.cs
Single-Agent Scenario

PandemicAgent.cs

Designing an Agent

PandemicArea.cs

Training the environment

mlagents-learn config/PPO/trainer_config_MVP.yaml --run-id=firstRun
tensorboard --logdir results

Next Steps

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store