Skip to content

amine-by/minesweeper-game

Repository files navigation

Minesweeper Game

A classic Minesweeper implementation where the goal is to reveal all safe cells without triggering a mine.

Game Screenshot

Gameplay

  • Left-click a hidden cell to reveal it.
  • Right-click a hidden cell to place or remove a flag.
  • Click the emote button to restart the game.
  • Revealing a mine immediately ends the game.
  • Reveal all non-mine cells to win.

Getting Started

Follow the steps below to run the project locally.

Prerequisites

Installation

npm install

Running

# Start development server
npm run dev

# Compile and Minify for Production
npm run build

# Run Unit Tests with [Vitest](https://vitest.dev/)
npm run test:unit

About

A Minesweeper game built in Vue.js using a test-driven development approach, with a focus on clean architecture, reactive state management, and thoroughly tested game logic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages