Pong AI - A Practical Example of Unity ML Agents Usage in Pong Game
- Add the project folder under Examples folder of your Unity ML-Agents directory.
- Before beggining to train the agent, mark the
isTraining
flagtrue
on PongAcademy component of Academy object. - Before playing the game mark
isTraining
flagfalse
on PongAcademy component of Academy object.
- Hyperparameters kept unchanged
- Last training length is 2e6
- The font used in the game SevenFour is created by myself, feel free to use it.