RL environments for HTML5 games
Top 78.2% on sourcepulse
µniverse provides a unified API for interacting with HTML5 games, designed for reinforcement learning research. It offers advantages over similar projects by enabling faster-than-real-time execution, eliminating the need for screen-scraping, and ensuring safer game interactions.
How It Works
µniverse leverages a headless Chrome instance controlled via Go to interact with HTML5 games. This approach allows for precise control over game execution, including manipulating JavaScript timers for faster-than-real-time play. Games are downloaded and packaged, and a Docker container manages the headless browser environment, ensuring consistent execution.
Quick Start & Requirements
go get github.com/unixpickle/muniverse
docker pull unixpickle/muniverse:0.115.0
.Highlighted Details
Maintenance & Community
The project is primarily maintained by its creator, unixpickle. There is no explicit mention of community channels like Discord or Slack, nor a public roadmap beyond a to-do list in the README.
Licensing & Compatibility
Licensed under a BSD 2-clause license, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
WebGL support is noted as occasionally failing. The project is described as a work in progress, with a to-do list indicating ongoing development and potential for future improvements.
6 years ago
1 day