d6495310c4cf394d54df922866dac61228f098d3
Minesweeper (Terminal Edition)
A terminal-based Minesweeper game written in Go, using the tcell library for handling terminal UI and events.
Features
- Classic Minesweeper gameplay
- Intuitive keyboard controls
- Terminal-based UI
- Real-time updates with
tcell
Installation
Prerequisites
- Go 1.18+ installed
Steps
- Clone this repository:
git clone https://github.com/Toprun123/go-mines.git cd go-mines - Install dependencies:
go get ./... - Build the project:
go build -o go-mines - Run the game:
./go-mines
Controls
Arrow Keys- Move cursorEnter- Reveal cellF- Flag/Unflag cellQ- Quit game
Or Mouse Clicks (Left Click to Reveal, Right Click to Flag/Unflag)
Contributing
Feel free to open issues or submit pull requests!
Author
Syed - https://github.com/Toprun123
Languages
Go
100%