Skip to content

A very simple two-player environment for openai/gym

License

Notifications You must be signed in to change notification settings

nczempin/gym-nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gym-nim

An example of a custom environment for https://github.com/openai/gym.

I want to try out self-play in a Reinforcement Learning context. Rather than the board game environments on openai/gym right now, which are "single-player" by providing a built-in opponent, I want to create an agent that learns a strategy by playing against itself, so it will try to maximize the reward for "player 1" and minimize it for "player 2".

A game that's even simpler than Tic-Tac-Toe/Noughts & Crosses is Nim.

About

A very simple two-player environment for openai/gym

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages