Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larsgroeber/battleship
https://github.com/larsgroeber/battleship
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/larsgroeber/battleship
- Owner: larsgroeber
- Created: 2016-11-04T19:47:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-10T22:17:30.000Z (about 8 years ago)
- Last Synced: 2024-10-18T23:12:51.033Z (about 1 month ago)
- Language: C++
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Battleship
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/9796d845a1be402a88bb0666150ff641)](https://www.codacy.com/app/larsgroeber7/battleship?utm_source=github.com&utm_medium=referral&utm_content=Larsg7/battleship&utm_campaign=Badge_Grade)
[![Issue Count](https://codeclimate.com/github/Larsg7/battleship/badges/issue_count.svg)](https://codeclimate.com/github/Larsg7/battleship)Play Battleship inside your terminal.
## How to run
**Still in development!**
The project makes heavy use of the *ncurses* library. So you have to have *ncurses* installed.
Use cmake:
mkdir build
cd build
cmake .. && make
./battleship
Use g++:g++ -o battleship -lncurses -std=c++11 inc/*.h src/*.cpp
./battleship
## How to playArrow keys - move the cursor
ENTER - shoot
F2 - quit
(F12 - debug mode)
## License
This program is released under the MIT-License.