A small public website hosting independent browser mini-games.
- One public home page listing all available games.
- Each game lives in its own folder and can evolve independently.
- Games are launched from the home page with a simple button.
- The project can be published as a static website with GitHub Pages.
npm install
npm run devnpm run build
npm run previewCreate a new folder under src/games/<game-id>/:
src/games/my-game/
Game.tsxThen register it in src/games/registry.ts:
{
id: "my-game",
title: "My Game",
emoji: "🎮",
description: "Very short explanation.",
load: () => import("./my-game/Game"),
}Game.tsx must default-export a React component.
This repository includes a GitHub Actions workflow that deploys dist/ to GitHub Pages on each push to main.
In GitHub, open repository Settings → Pages and set source to GitHub Actions.
The public URL should be:
https://lucent-lab.github.io/mini-games/