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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MINES

GitHub GitHub release (latest SemVer) build

menu custom menu game game over

Installation

Ubuntu- / Debian-based Systems

install the deb package: mines_0.6.0_amd64.deb

Arch-based Systems

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

yay -S mines-tui

Controls

  • Movement: hjkl or ←↓↑→
  • Place flag: f
  • Open tile: s
  • Quit: q
  • Emphasize neighboring cells e

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