https://github.com/srcnalt/pong-ai
Pong AI - A Practical Example of Unity ML Agents Usage in Pong Game
https://github.com/srcnalt/pong-ai
Last synced: 3 months ago
JSON representation
Pong AI - A Practical Example of Unity ML Agents Usage in Pong Game
- Host: GitHub
- URL: https://github.com/srcnalt/pong-ai
- Owner: srcnalt
- Created: 2018-01-19T02:58:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-14T09:51:56.000Z (about 6 years ago)
- Last Synced: 2025-02-28T08:28:55.790Z (4 months ago)
- Language: C#
- Size: 161 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong-AI
Pong AI - A Practical Example of Unity ML Agents Usage in Pong Game[](https://www.youtube.com/watch?v=ZM_Z7HZXJuk)
## Instructions
- Add the project folder under __Examples__ folder of your Unity ML-Agents directory.
- Before beggining to train the agent, mark the `isTraining` flag `true` on PongAcademy component of Academy object.
- Before playing the game mark `isTraining` flag `false` on PongAcademy component of Academy object.## Notes
- Hyperparameters kept unchanged
- Last training length is 2e6
- The font used in the game *SevenFour* is created by myself, feel free to use it.