Skip to content
/ thgym Public

OpenAI Gym environment for training RL agents to play Touhou. For the spin-off data analysis tool, go to:

Notifications You must be signed in to change notification settings

Guy-L/thgym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

thgym - OpenAI Gym environment for Touhou

You can change the selected game in interface.py and change things like the reward method in environment.py. Training a Reinforcement Learning agent with this is probably impossible with current techniques, but you're more than welcome to try.

TODO:

  • Smarter implementation of the reset method
  • Extracting more relevant game info: player coordinates, bullet coordinates list, enemy coordinates list...
  • Adding parameters to select the observation space (single frame/buffer (with specific size), with/without game variables, with/without visual input...)
  • Better documentation & code clean-up
  • Re-write interface.py as a DLL for cleaner game interaction
  • Custom policy for training with visual and game variable data
  • Manage to train a model that at least learns not to bomb every other frame...

About

OpenAI Gym environment for training RL agents to play Touhou. For the spin-off data analysis tool, go to:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published