Skip to content

Raat1902/battle-ship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Battleship (C++)

A simple command-line Battleship game written in C++.

Rules

  • Board: 5x5
  • Ships: 3 (single-cell ships, randomly placed)
  • Turns: 10
  • Symbols:
    • . unknown
    • X hit
    • O miss

Project Structure

battleship-cpp/
├─ src/
│  ├─ main.cpp
│  ├─ BattleshipGame.hpp
│  └─ BattleshipGame.cpp
├─ .gitignore
├─ LICENSE
└─ README.md

About

Simple C++ CLI Battleship game with random ship placement, hit/miss tracking, and a limited number of turns.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages