/minesweeper

Minesweeper ruby implementation

Primary LanguageRuby

Minesweeper

Minesweeper ruby implementation

Start game

ruby start_game.rb

Run Test

bunde install
rspec ./

How to play

    0  1  2  3  4 

0  [ ][ ][ ][ ][ ]
1  [ ][ ][ ][ ][ ]
2  [ ][ ][ ][ ][ ]
3  [ ][ ][ ][ ][ ]
4  [ ][ ][ ][ ][ ]

score: 0

Game Help
----------
Use row column combination for select a cell
Open a cell: <rowcolumn>  Eg: 00
Flag a cell: <rowcolumn>f  Eg: 00f
Exit game: q