this repository contains various reinforcement learning agents implemented in Python. The agents are designed to learn and adapt to different environments, including classic control tasks and custom game environments.
- Snake: A reinforcement learning agent for playing the Snake game using the Gymnasium library.
- Pong: A reinforcement learning agent for playing the Pong game using the Gymnasium library.
- Gungi: A reinforcement learning agent for playing Gungi, a strategic board game from the "Hunter x Hunter" universe.
This repository now uses uv for environment management and dependency locking.
- Install uv (see the official docs for platform-specific installers).
- Create the virtual environment and install dependencies (uv will automatically download Python 3.11, which is the supported runtime for this repo):
uv sync
- Run any script directly through uv to ensure it uses the managed environment, e.g.:
uv run python src/snake/train.py
- When you need a new dependency, add it via:
uv add <package-name>