← Index
Source: docs/features/game.md (auto-generated by scripts/generate-docs-html.mjs — edit the .md, not this file)

Game (Unity, via submodule)

Goal: embed a sample Unity game in the Game menu, kept in its own repo and integrated here as a git submodule.

Current

/game is a 2D-canvas "Coin Catcher" placeholder.

Proposed

Plan & steps

  1. Unity repo: create rabbit-game (Unity project); build target WebGL.
  2. Submodule: git submodule add <url> games/rabbit-game. Or (lighter) commit only the built WebGL output to a public/game/ path so you don't ship the whole Unity project.
  3. Serve: place the WebGL build under public/game/; /game loads it in an <iframe>.
  4. CI (optional): build the Unity WebGL via the Unity GitHub Action so the embed stays fresh.

Open questions

Features