/rubysweeper

A simple and fun Minsweeper clone for the command line written in Ruby.

Primary LanguageRuby

Rubysweeper

A simple and fun Minsweeper clone for the command line written in Ruby.

Usage

Start a standard 10 x 10 game:

$ ruby rubysweeper.rb

Start a 15 x 15 game:

$ ruby rubysweeper.rb 15

Start a 17 x 31 game:

$ ruby rubysweeper.rb 17 31

The minimum width and height is 10 and the maximum is 50.