Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

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

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.

You lose if the computer achieves sinking your ships first.

View original on programming.dev
29

No replies yet

No comments on the original post yet.
tui-battleship, the classic naval battle game (Bash). | Spyke