polaris-dxz / minesweeper

Home Page:https://minesweeper-ai.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minesweeper

This is a Minesweeper game styled after Windows 98, built with Next.js.

Game Logic

  • Clicking a mine ends the game.
  • Clicking a square with an adjacent mine shows the number of mines.
  • Clicking a square with no adjacent mine clears that square and adjacent squares.
  • The numbers indicate the count of adjacent mines.
  • Right-click to flag a square; flagged squares can't be opened.
  • Double-clicking a number with equal flagged squares around it opens all unopened adjacent squares.

Resources

About

https://minesweeper-ai.vercel.app/


Languages

Language:TypeScript 97.1%Language:CSS 2.3%Language:JavaScript 0.7%