Skip to content

Remote game drivers integration MVP#643

Open
SohierDane wants to merge 26 commits intomasterfrom
hearth_integration
Open

Remote game drivers integration MVP#643
SohierDane wants to merge 26 commits intomasterfrom
hearth_integration

Conversation

@SohierDane
Copy link
Copy Markdown
Contributor

@SohierDane SohierDane commented Jan 22, 2026

Initial working draft integrating the game drivers with kaggle environments. Relies on a wheel file from this competitions repo PR. This PR should not be merged unless/until that PR is approved.

  • Unit tests pass for the same suite of 110 Shimmy games running on Hearth.
  • Adds a new Protobuf agent to enable use of the Hearth relay and proto, which in turn enables games to pass "closer to native" types.
  • Installation of the relevant game driver files is currently handled via kaggle_environments/envs/game_drivers/init.py. Auto-installs kaggle_evaluation wheel at runtime as needed. The approach of installing wheels is not necessarily meant to be the long term solution, I just needed a quick way to make the files accessible.
  • kaggle_environments/envs/game_drivers/shimmy_base.py acts as a factory for shimmy games, which can be run by passing the game name.
  • The kaggle_environments/envs/game_drivers/shimmy_tic_tac_toe/ subfolder skips the factory in favor of a (slightly) more traditional environment setup that could support a dedicated visualizer.
  • I can break this PR into smaller chunks if that would be helpful but I found it very useful to be able to run the full set of new tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant