Skip to content

This project implements an agent for playing the SonicTheHedgehog2 game from a ROM file using the Proximal Policy Optimization (PPO) algorithm from the stablebaselines3 library. The agent is trained to learn the optimal actions to take at each step in the game in order to complete the level and maximize the score.

Notifications You must be signed in to change notification settings

MichaelFish199/SonicTheHedgehog2-ReinforcmentLearning

Repository files navigation

SonicTheHedgehog2-ReinforcmentLearning

Creating agent that can play SonicTheHedgehog2 using PPO from stablebaselines3.

This repository contains:

  • Environment_Setup.ipynb for creating environment
  • Model_Parameter_Search.ipynb for searching best parameters for model
  • Model_Training.ipynb for training model
  • Model_Testing.ipynb for testing model
  • Results are in ReadMe.md
Sonic_lvl0.mp4
Sonic_lvl1.mp4

About

This project implements an agent for playing the SonicTheHedgehog2 game from a ROM file using the Proximal Policy Optimization (PPO) algorithm from the stablebaselines3 library. The agent is trained to learn the optimal actions to take at each step in the game in order to complete the level and maximize the score.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published