Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 531 Bytes

File metadata and controls

29 lines (20 loc) · 531 Bytes

React Minesweeper

A classic Minesweeper game built with React and Vite.

Features

  • Three difficulty levels (Easy, Medium, Hard)
  • Timer and mine counter
  • Flag mines with right-click (desktop) or long-press (mobile)
  • First click is always safe
  • Cheat mode: press C to reveal mine locations

Getting Started

npm install
npm run dev

Controls

  • Left click: Reveal cell
  • Right click: Flag/unflag cell
  • Long press (mobile): Flag/unflag cell
  • C key: Toggle cheat mode

License

MIT