this post was submitted on 03 Apr 2024
32 points (97.1% liked)

commandline

1747 readers
1 users here now

founded 1 year ago
MODERATORS
 

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.

kaboom!

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.

top 2 comments
sorted by: hot top controversial new old
[โ€“] hardkorebob@programming.dev 2 points 7 months ago

Nice! I wanted to implement one in Tkinter. Looks good, great work!

Looks like mogus