tui-battleship, the classic naval battle game (Bash).

christos@lemmy.world to Linux@lemmy.ml – 165 points –

https://gitlab.com/christosangel/tui-battleship

This is a tui implementation of the popular classic naval battle game, written in Bash.

The objective of the game is to destroy the computer's fleet, before the computer achieves the same against you.

You take turns with the computer, hitting squares in each other's grids.

You have to guess the position of the enemy ships on the computer's 10x10 grid, in order to win.

win

You lose if the computer achieves sinking your ships first.

lose

6

Interesting! Any list of good TUI games on Linux?

This is definitely one of the things I love FOSS for. And btw can this game run well on a Pentium 3?

I have no idea. On an old potato laptop I tried it on it works ok, if I rush the keys, it is flickering a little.

Hmm what were the laptop specs if you don't mind sharing? And did you use Alacritty? It could be the reason of flickering

Sure, it is a Potatomatic 4000, 2nd edition. No, not Alacrity. Thx though.