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++
- Host: GitHub
- URL: https://github.com/borededdy/cxxbattleship
- Owner: Borededdy
- License: gpl-3.0
- Created: 2022-03-23T18:57:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T10:02:44.000Z (about 4 years ago)
- Last Synced: 2023-11-15T15:47:33.803Z (over 2 years ago)
- Topics: battleship, battleship-game, battleships-game, cpp, cppgame, cxx, terminal, terminal-game
- Language: C++
- Homepage:
- Size: 746 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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