A collection of browser-based board games built with React, TypeScript, and Tailwind CSS.
- Pandemic — Cooperative disease-fighting board game with an interactive world map
- Exploding Kittens — A strategic kitty-powered card game of luck and betrayal
- Set — Find matching patterns in a grid of shape cards
npm install
npm run devOpen http://localhost:5173 to play.
npm run build
npm run preview- Create a folder under
src/games/(e.g.src/games/my-game/) - Build your game as a React component (e.g.
MyGame.tsx) - Create an
index.tsthat default-exports aGameDefinition:
import { lazy } from "react";
import type { GameDefinition } from "../types";
export default {
slug: "my-game",
title: "My Game",
description: "A short description",
thumbnail: "",
component: lazy(() => import("./MyGame")),
} satisfies GameDefinition;The home menu and routing update automatically — no other files need to change.
- Vite — build tool
- React — UI framework
- TypeScript — type safety
- Tailwind CSS — styling
- React Router — client-side routing