go-mines

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 1 Imported by: 0

README

go-mines

Build Status

An implementation of Minesweeper for the command-line in GoLang.

Install

You can download the latest release for your OS here.

Install Using GoLang
go install github.com/jedib0t/go-mines

Sample

Sample

Usage

go-mines: A GoLang implementation of the Minesweeper game.

Version: dev

Flags
=====
  -cols int
    	Number of Columns (max: 80) (default 15)
  -demo
    	Play automatically? (this cheats to win)
  -help
    	Show this help-text?
  -mines int
    	Number of Mines (max: 50% of grid) (default 40)
  -refresh-rate int
    	Refresh-rate per second (default 20)
  -rows int
    	Number of Rows (max: 40) (default 15)
  -seed int
    	Randomizer Seed value (will use current time if ZERO)

Note: for Windows, you may want to configure your terminal to use a typeface or font that supports all the Unicode symbols used in this game. An example (that has been verified to work) would be Ubuntu Mono.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL