This project implements a Deep Reinforcement Learning agent to play Benji Bananas.
Before running the code, you must install the following system dependencies.
The project relies on scrcpy for low-latency screen capture.
On macOS (Homebrew):
brew install android-platform-tools scrcpy ffmpegThe easiest way to run the training is via Docker.
- Prerequisites: Android Emulator running and connected to ADB (
adb devices). - Build & Run:
This will build the container and start training. Logs will appear in
docker compose up --build
./logs.
- Install dependencies:
pip install . - Start Training:
python train.py
- Enable Developer Options and USB Debugging on your Android device (or Emulator).
- Connect via USB.
- Verify connection:
You should see a device ID listed.
adb devices
pip install -e .[dev](To be added)