Skip to content
/ mines Public

🕹 A Terminal based Minesweeper implementation

License

Notifications You must be signed in to change notification settings

Judro/mines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MINES-TUI

GitHub GitHub release (latest SemVer) build

game game over highscores

Installation

Ubuntu- / Debian-based Systems

install the deb package: x86-64/amd64 arm64

Arch-based Systems

Install the package from the AUR using an AUR helper like yay:

yay -S mines-tui

Run

mines-tui

Get help

man mines-tui

Controls

  • Movement: hjkl or ←↓↑→
  • Place flag: f
  • Open tile: s
  • Display highscores: b
  • Emphasize neighbouring cells e
  • Open the game manual: m
  • Quit: q

(please read man mines-tui)

Build from source

  1. install dependencies
  2. make
  3. make install

(If linking fails, consider replacing -lncursesw with -lncurses in the Makefile)

Dependencies

  • libncurses-devel

Contributing

This project was my playground to learn C, so don't expect the cleanest code or the most optimized solutions. I might have done things differently if I had to redo it! If you're keen to chip in, feel free to send over your ideas or pull requests