A simple but functional terminal BattleShip game, written in c++ To Open the game follow the instructions down here or in the wiki.
You need a C++ compiler, e.g. Clang, GCC, MSVC...
In the terminal type:
g++ battleship.cpp
make sure that you have installed Clang or any C++ Compilator
After that done type:
./a.out
To launch the executible file.
On MacOS you can install Xcode from the store or using the terminal:
xcode-select --install
Else use Homebrew
Then compile:
cpp CXXBattleShip.cpp
And execute the generated file.
Use Mingw/MSYS2 or MSVC