Skip to content

jedib0t/go-mines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Minesweeper for the command-line, written in GoLang.

Resources

License

Stars

Watchers

Forks

Packages

No packages published