Popular apps

Download console Sea Battle (Linux)

console Sea Battle (Linux)

Version:2.0.4
License: Free for Linux
110 downloads
Checked for viruses
?
Tested on virustotal
Version
2.0.4
Updated
Compatibility
Linux
Size
7.27 MB
Architecture
x32/x64
Language
English

Description

console Sea Battle is a classic Battleship game implemented in Python and designed to run in the command line. The gameplay faithfully follows the traditional rules of the board game. As of June 23, 2025, the code has been completely rewritten and significantly optimized.

Now the game folder includes two ways to launch the game:

1. Run with Python

You’ll need Python installed on your system, along with the colorama library. To install it, run:

pip install colorama

Then launch the game with:

python main.py

2. Run the Executable

A precompiled executable file is also included, which does not require Python. Simply run:

./csb
Make sure the file has execute permissions. If necessary, grant them with: chmod +x csb

Supported Command-Line Options:

  • -w
    Enables fast mode: the computer’s moves are displayed all at once without waiting for input after each turn.
  • -c
    Saves the opponent’s ship positions to positions.txt at the start of the game.

Examples:

python main.py -w
./csb -c

Game Board Symbols:

. — Empty cell  
* — Miss  
@ — Your ship  
+ — Hit  
# — Sunk

If you encounter any bugs or issues, please report them in the feedback section.

Rating

4.67
3 ratings
Click, for a quick estimate

Leave a review

Your name*
Your email*
Comment*

Reviews