https://github.com/jddev0/consolebattleship
A battleship game for Console (Linux, Windows)
https://github.com/jddev0/consolebattleship
battleship battleship-game cli command-line console console-game game
Last synced: about 1 year ago
JSON representation
A battleship game for Console (Linux, Windows)
- Host: GitHub
- URL: https://github.com/jddev0/consolebattleship
- Owner: JDDev0
- License: mit
- Created: 2021-04-18T01:39:25.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-25T16:59:13.000Z (over 1 year ago)
- Last Synced: 2025-01-30T04:43:31.744Z (about 1 year ago)
- Topics: battleship, battleship-game, cli, command-line, console, console-game, game
- Language: C
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConsoleBattleship
A battleship game for Console (Linux, Windows)
## Gameplay

## Compile & Run
### Linux
- Required packages: `cmake`, `make`, `gcc`, `libncurses-dev`
Compile & Run
1. `cmake -DCMAKE_BUILD_TYPE=Release -S . -B release`
2. `cmake --build release`
3. `release/Battleship`
### Windows
Required programs:
1. Install cmake and add it to $PATH
2. Install MinGW and add it to $PATH
Compile & Run
1. `cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -S . -B release`
2. `cmake --build release`
3. Go into the `release` folder and double click `Battleship.exe`