Skip to content

mastondzn/minesweeper

Repository files navigation

Minesweeper

Play at https://minesweeper.maston.dev

Main libs/stuff that was used to build this

  • React
  • Vite
  • TailwindCSS
  • zustand
  • shadcn/ui
  • radix-ui
  • Tabler Icons

TODOs

  • Add luck removing option (e.g. use a flag on a 50/50 chance of removing a mine to force it on the other cell)
  • Add a way to always start a game on a empty block
  • Fix performance issues, passing the Proxy created by immer to the updateNeighbors function seems to be pretty bad

Development

Prerequisites

  • Node.js
  • pnpm

Setup

  • clone the repo and run pnpm install
  • run pnpm dev
  • develop