Mineswiper

A simple command line minesweeper.

Installation

gem 'mineswiper'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mineswiper

Usage

require 'mineswiper'

then in the command line

new_game = Mineswiper::Game.new
new_game.play

control the movement using W-A-S-D, Space to click, and f to put the flag.

Credit

ndevvy