- cross-posted to:
- linux
- cross-posted to:
- linux
https://gitlab.com/christosangel/tui-mines
tui mines is evidently a text-based user interface implimentation of the classic mine sweeping puzzle game.
The user has to clear a board, square by square, flagging the squares suspected to hide mines on the way.
If the user opens a mine square, things go KABOOM! and the game is lost.
The user uses hints from the numbered squares. This numbers how many bombs are touching that square in every direction ( 8 in total).
Through logic, and a bit of luck, the player ends up clearing all the squares, while flagging all the mines.
IMPORTANT UPDATE: Since many youngsters who unlike me, a senior citizen, live on the edge and hate vim keys or arrow keys, have requested an alternative navigation keys set up, I have just implemented a configuration option that satisfies just that.
By editing the config file (either within the application or just editing
~/.config/tui-mines/tui-mines.config
, and changing theNAVIGATION_KEYS
value fromvim+arrows
(default) toaswd+arrows
, the user can use theaswd
keys to navigate in the game grid, just as requested.No other commands or hacks are needed.
Arrow keys
remain hardcoded, because they remind me of my youth, as an archer, during the Peloponnesian War❤️