minesweeper
Multiplayer Minesweeper game, just for recreation programming purpose.
Warning
Development in process
Screenshots
How to run
Using Makefile
Start server: make server (or make s)
Start client: make client (or make c)
Using Go directly
Start server:
go run main.go --server
Start client:
go run main.go --client
Or simply run as client (default mode):
go run main.go
Command-line options
Usage:
main [OPTIONS]
Application Options:
-s, --server Run as server
-c, --client Run as client
-a, --addr= Server address (for client mode) or bind address (for server mode) (default: 127.0.0.1:8080)
--debug Enable debug mode
Help Options:
-h, --help Show this help message
Controls
Keyboard Controls
- Arrow Keys or WASD: Move cursor
- Space: Open cell
- Enter: Cycle flag markers (Flag → Guess → Hidden)
- Ctrl+D: Toggle debug display on/off
- Ctrl+C: Quit game
Multiplayer Features
- The game supports 2 players taking turns
- Current player turn is displayed during gameplay
- Winner announcement when the game ends