Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 761 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 761 Bytes

MySweeper

My implementation of a web-based mine-sweeper game.

Created using HTML, CSS and JavaScript.

Currently supported

  • Left click to reveal, right-click for flag.
    • A flag can't be revealed. Right-click again to undo.
  • Auto-reveal all cells surrounding an empty cell.
  • Stop game when mine is hit.
  • Difficulty and size selection by the user (currently by fixed values).
  • Shows how many mines are left (according to marked flags).
  • Show timer.

To Do

In no particular order:

  • Take size of board from user input.
  • Add difficulty selection by the user.
  • Add counter of remaining mines.
  • Add checker for finished game (according to revealed tiles, not flags)
  • Add timer.
  • Make sure no empty board is generated.