An open API service indexing awesome lists of open source software.

https://github.com/borededdy/cxxbattleship

A simple but functional terminal BattleShip game, written in c++
https://github.com/borededdy/cxxbattleship

battleship battleship-game battleships-game cpp cppgame cxx terminal terminal-game

Last synced: 25 days ago
JSON representation

A simple but functional terminal BattleShip game, written in c++

Awesome Lists containing this project

README

          

# 🚢 CXXBattleShip

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...

#### - Linux

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.

#### - Unix

On MacOS you can install **Xcode** from the store or using the terminal:
`xcode-select --install`

Else use [Homebrew](https://brew.sh/)

Then compile:
`cpp CXXBattleShip.cpp`
And execute the generated file.

#### - Windows

Use Mingw/[MSYS2](https://www.msys2.org/) or MSVC