this post was submitted on 14 Apr 2024
167 points (98.8% liked)

Linux

48077 readers
884 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] GolfNovemberUniform@lemmy.ml 3 points 6 months ago (1 children)

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

[–] christos@lemmy.world 2 points 6 months ago (1 children)

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.

[–] GolfNovemberUniform@lemmy.ml 1 points 6 months ago* (last edited 6 months ago) (1 children)

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

[–] christos@lemmy.world 0 points 6 months ago

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