Skip to content

Repository files navigation

License: Prosperity Public License

Minesweeper

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.

Monorepo layout

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 skeleton
  • packages/ — reserved for shared code

Run pnpm <script> from the repo root (delegates through Turborepo), or target one package with pnpm --filter @minesweeper/web <script>.

Getting started

pnpm install
pnpm dev

Scripts

Run from the repo root:

  • pnpm dev — start the Vite dev server
  • pnpm build — type-check and build for production (output in apps/web/build)
  • pnpm lint — ESLint (--max-warnings 0)
  • pnpm test — run the Vitest suite
  • pnpm test:coverage — tests with coverage

Tech stack

React 19 · TypeScript · Vite · TanStack Query · Zustand · MSW · Vitest.

License

Prosperity Public License 3.0.

About

Old schools minesweeper game on react

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages