Gym Streets of Rage is an environment bundle for OpenAI Gym built on top of the Retro Learning Environment. Users can train one or two agents on any single level of Streets of Rage 1-3. Users
First install the Retro Learning Environment:
git clone https://github.com/jmichaux/Retro-Learning-Environment.git
cd Retro-Learning-Environment
pip install .
Next, install gym_streets_of_rage:
git clone https://github.com/jmichaux/gym-streets-of-rage.git
cd gym-streets-of-rage
pip install .
To choose an environment for training a single agent, use the following pattern: game-character-level-difficulty
env = gym.make('streets_of_rage_ii-max-1-4-v0')
By default, the environment returns a dictionary of rewards corresponding to: health, lives, points, kills
- set rewards
- re-map the action space
- Fix two player
- @nadavbh12 for his work on RLE.
- @gsaurus for his work hacking and reverse engineering the Streets of Rage series.