AI agent for Street Fighter II using deep reinforcement learning
Top 8.0% on sourcepulse
This project provides a deep reinforcement learning agent capable of defeating the final boss in Street Fighter II: Special Champion Edition. It is designed for researchers and enthusiasts interested in applying RL to classic fighting games, offering a 100% win rate on a specific save state.
How It Works
The AI agent learns by processing raw RGB pixel data directly from the game screen. It leverages OpenAI Gym Retro for game interaction and Stable-Baselines3 for its deep reinforcement learning algorithms. The approach is advantageous for its end-to-end learning capability, directly mapping visual input to game actions without manual feature engineering.
Quick Start & Requirements
conda create -n StreetFighterAI python=3.8.10
), activate it, and pip install -r requirements.txt
from the main/
directory.rom.md
), ffmpeg
(for video recording).gym-retro
game data folder.Highlighted Details
ppo_ryu_7000000_steps_updated.zip
model, though this state exhibits overfitting.Maintenance & Community
The project relies on Stable-Baselines3 and OpenAI Gym Retro. No specific community channels or active maintainer information are provided in the README.
Licensing & Compatibility
The project's licensing is not explicitly stated in the README. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The README notes that models exhibit overfitting at later training stages, impacting generalizability. The game ROM must be acquired separately and legally. Administrator privileges may be required for file modifications.
1 year ago
Inactive