Skip to content

s2031215/Go-minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub go.mod Go version visitor badge

Gominesweeper - Go Console minesweeper game

A simple minesweeper game build with Golang

Screenshots

Screenshot

Description

The minesweeper game can play in command prompt, the library add gocui for the UI control. It suggest run in unicode command prompt but ASCII also will work.

Getting Started

Dependencies

OS:

  • Windows 10 (tested)
  • Linux(ARM) Armbian 5.4.2 (tested)
  • Linxu(x86) to-do

libraries:

  • go 1.16
  • gocui v0.5.0

Binary Install

  • Download the executable files in Releases
  • Run and Fun!

Executing program from sourse code

git clone https://github.com/s2031215/Gominesweeper.git
cd Gominesweeper
go run . # start game
#or
go build . # build executable file
./Gominesweeper #linux
Gominesweeper.exe #Windows

install as modules

#set go path
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
go install github.com/s2031215/Gominesweeper@latest
#run program
Gominesweeper

Authors

s2031215

Version History

  • 1.0
    • Initial Release
  • 1.1
    • Add Linux(Arm64) build support

Roadmap

  • Add Flag Function
  • Add Status table
  • Add Difficulty Level 10x10 20x20
  • Add Item can help when play (one more life/auto detect mines)

Acknowledgments