Skip to content

tsoding/mine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Minesweeper

thumbnail

This screenshot is slightly outdated, but I could not be bothered to update it, sorry

Quick Start

It's written in Free Pascal (sorry about that).

$ fpc ./mine.pas
$ ./mine

Controls

key description
w,a,s,d Move cursor around
SPACE Open cell
f Flag/unflag cell
r Restart
q Quit

Debug Mode

Build with debug mode:

$ fpc -dDEBUG mine.pas
$ ./mine

Debug Controls

key description
p Peek behind closed cells

Solver

The game comes with an automatic solver written in C. See ./agent.c.

$ cc -o agent agent.c
$ ./agent -i ./mine

About

Minesweeper in Terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors