browles / minesweeper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage:

./minesweeper.js <rows> <columns> <bombs>

Then, at the prompt: <row> <column> to reveal a square, or: f <row> <column> to flag a square.

Game conditions:

To win, correctly place all flags.

Placing all flags with at least one incorrect will result in a loss, as will revealing a bomb tile.

About


Languages

Language:JavaScript 100.0%