A Deep Q-Learning (DQN) implementation for the classic Atari Breakout game, using RAM state representation and advanced visualization tools.
This project implements a Deep Q-Network (DQN) agent that learns to play the Atari Breakout game using RAM state representation. The implementation includes comprehensive visualization and analysis tools to understand the agent's decision-making process. For the full project details, reference the Final Paper
- Python 3.8+
- PyTorch
- Gymnasium
- ALE-py
- Matplotlib
- NumPy
- Clone the repository:
git clone https://github.com/yourusername/ai-breakout.git
cd ai-breakout- Create and activate a virtual environment (recommended):
python -m venv env
source env/bin/activate # On Windows: env\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Install Atari ROMs:
python -m ale_py.roms.installvisualize_agent.py: Main visualization and analysis scriptram_state_representation/: Contains the DQN agent implementationevaluate.py: Evaluation script for agent performancetest_environment.py: Environment testing utilities