A Minesweeper project that I used to learn Go.
Find a file
2025-03-22 22:48:59 +10:30
.gitignore made the game work lol 2024-11-18 23:12:31 +10:30
go.mod made the game work lol 2024-11-18 23:12:31 +10:30
go.sum made the game work lol 2024-11-18 23:12:31 +10:30
LICENSE Initial commit 2024-10-23 16:32:26 +10:30
main.go Fixed minefield gen bug 2024-11-19 15:05:10 +10:30
README.md Update README.md 2025-03-22 22:48:59 +10:30

gomine

A Minesweeper project that I used to learn Go.

Building

First, install Go.

Then simply clone the repo and run go build in the repository root.

Using

Use the arrow keys or h,j,k,l to navigate the menu, press enter to make choices. While in the game, press "c" and "m" to CLEAR or MARK plots, which will switch you between modes, allowing you to clear or mark subsequent plots by pressing enter or space. The game supports vim-like navigation with arrow keys and numbers + h,j,k,l.