Skip to content

Hash-AK/MineSweepGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineSweepGo

A recreation of the iconic MineSweeper in Golang, in the terminal! This was made for Siege by HackClub. It uses the Tcell Go module to facilitate operation with the terminal and the TUI interface.

demo img

How To Play

Install a binary from the Release page, or do the following :

git clone https://github.com/Hash-AK/MineSweepGo

cd MineSweepGo

go run . {ARGUMENTS HERE}

The arguments workboth for the bianries and the manual way, and they are the height and width of the grid in blocks, example :

go run . 10 10

or :

./MineSweepGo-linux-amd64 10 10

if no entry is provided it defaults to 10x10

In the game, you can reveal tiles using Enter, flag a tile with 'f', and quit using either Ctrl+C or Escape.

Have fun!