Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 733 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 733 Bytes

💣 TDD Minesweeper 💣

A CLI clone of the classic game, Minesweeper. Built using test-driven development and object-oriented design principles. This is the first project in Raise.dev LIVE's Tuesday Driven Development series.

Installation

git clone https://github.com/raisedevs-live/minesweeper.git
cd minesweeper

Game Play

ruby bin/minesweeper

Follow the prompts in your terminal to complete the game. Try to clear the field before you find a bomb! 💣

Custom settings

Change the height, width, and the number of mines by specifying those values as you start the game.

WIDTH=integer ruby bin/minesweeper

HEIGHT=integer ...

MINE_COUNT=integer ...