https://github.com/maxogod/ai-donkey-kong
Use of reinforcement learning with PPO to train an Agent that can beat the first level of Donkey Kong
https://github.com/maxogod/ai-donkey-kong
anaconda conda donkey-kong fiuba mlagents ppo pytorch reinforcement-learning ta061 unity
Last synced: 2 months ago
JSON representation
Use of reinforcement learning with PPO to train an Agent that can beat the first level of Donkey Kong
- Host: GitHub
- URL: https://github.com/maxogod/ai-donkey-kong
- Owner: maxogod
- Created: 2024-11-17T22:10:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T20:46:15.000Z (2 months ago)
- Last Synced: 2025-07-29T23:05:55.310Z (2 months ago)
- Topics: anaconda, conda, donkey-kong, fiuba, mlagents, ppo, pytorch, reinforcement-learning, ta061, unity
- Language: C#
- Homepage:
- Size: 10 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Donkey Kong AI
* [Informe/Report](https://github.com/maxogod/AI-Donkey-Kong/blob/main/informe.pdf)
* *Click thumbnail to watch the video! [[>]](https://www.youtube.com/watch?v=5XQuDkWKL-M)*
[
](https://www.youtube.com/watch?v=5XQuDkWKL-M)
## Sneak peeks
## How to use
### Install Unity
[Unity 6 (6000.0.27f1) Download](https://unity.com/releases/editor/whats-new/6000.0.27#installs)
### Install Conda
[MiniConda Download](https://www.anaconda.com/download/)
### Install [Pytorch](https://pytorch.org/) and [ML-Agents](https://github.com/Unity-Technologies/ml-agents) Toolkit
```powershell
# Create from environment config file
conda env create -f ./conda_env.yaml
conda activate donkey
```Alternatively...
```powershell
conda create -n donkey python=3.10.12 # for mlagents 22 (oct/5/2024)
conda activate donkey# If using CUDA platform
pip3 install torch~=2.2.1 --index-url https://download.pytorch.org/whl/cu121# If using AMD ROC platform (only supported in linux)
pip3 install torch~=2.2.1 --index-url https://download.pytorch.org/whl/rocm6.2# If not using GPU acceleration (CPU only)
pip3 install torch~=2.2.1python -m pip install mlagents==1.1.0 # If downloading from PyPi, otherwise download it from the ML-Agents gh repo
mlagents-learn --help # verify if it was installed correctly
```