A faithful remake of the classic Windows Minesweeper, built with React, TypeScript, and Vite. Play it at minesweeper.is.
Choose Beginner, Intermediate, Expert, or a custom board, flag suspected mines, and clear the field without detonating one.
This repository is a pnpm + Turborepo monorepo:
apps/web— the React + TypeScript + Vite app (@minesweeper/web)workers/api— AWS Lambda API (@minesweeper/api), currently a skeletonpackages/— reserved for shared code
Run pnpm <script> from the repo root (delegates through Turborepo), or target one package
with pnpm --filter @minesweeper/web <script>.
pnpm install
pnpm devRun from the repo root:
pnpm dev— start the Vite dev serverpnpm build— type-check and build for production (output inapps/web/build)pnpm lint— ESLint (--max-warnings 0)pnpm test— run the Vitest suitepnpm test:coverage— tests with coverage
React 19 · TypeScript · Vite · TanStack Query · Zustand · MSW · Vitest.