NES emulator and OpenAI Gym interface
Top 97.2% on sourcepulse
nes-py is a Python 3 NES emulator and OpenAI Gym interface for macOS, Linux, and Windows, built upon the SimpleNES emulator. It allows users to interact with classic Nintendo Entertainment System games programmatically, making it suitable for researchers and developers interested in reinforcement learning or game emulation.
How It Works
The emulator is based on the SimpleNES core, providing a functional NES environment. It integrates with OpenAI Gym, enabling the creation of custom reinforcement learning environments from NES games. This allows agents to be trained to play these games, leveraging the emulator's state and action space.
Quick Start & Requirements
pip install nes-py
clang++
compiler (sudo apt-get install clang
).nes_py -r <path_to_rom>
nes_py -h
Highlighted Details
threading.Thread
instances.multiprocessing.Process
instances, provided nes-py
is imported within the process.Maintenance & Community
No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.
Licensing & Compatibility
The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The project is provided for educational purposes only and is not affiliated with or approved by Nintendo. Rendering is not supported in threaded environments.
1 year ago
1 day