A modern, interactive clone of the classic Minesweeper built with Vanilla TypeScript.
👉 https://minesweeper-vininnn.netlify.app/
-
3 Difficulty Levels:
- Beginner: 9x9 with 10 bombs
- Intermediate: 16x16 with 40 bombs
- Expert: 16x30 with 99 bombs
-
7-Segment Display:
Custom logic to render digital-style numbers (timer and flag counter) using pure HTML and CSS. -
Full Classic Mechanics:
Includes a Flood Fill algorithm to reveal adjacent empty cells (recursion) and a flagging system. -
Victory Animation:
Integration withcanvas-confettito celebrate when the player wins. -
Themed Design:
Well-structured CSS variables to maintain a consistent dark and elegant theme.
| Technology | Purpose |
|---|---|
| TypeScript | Logic, typing, architecture |
| HTML5 | Structure |
| CSS3 | Styling (Grid + Flexbox) |
| Canvas Confetti | Win animation |
Since the project is written in TypeScript, files need to be transpiled to JavaScript or run through a bundler (such as Vite).
- Clone the repository:
git clone https://github.com/your-username/minesweeper.git
- Enter the project folder:
cd minesweeper - Install dependencies:
npm install
- Run development server:
npm run dev
- Open your browser at the URL provided in the terminal (usually http://localhost:5173)
| Beginner | Intermediate | Expert |
|---|---|---|





