Battleship (C++ Console Project) – A console-based implementation of the classic Battleship game with OOP.

consolegame cpp first-project object-oriented-programming oop
1 Open Issue Need Help Last updated: Sep 1, 2025

Open Issues Need Help

View All on GitHub

AI Summary: The `DataBoard` array is not being initialized with the intended `Default` value from `struct CellValue`. Instead, its elements are filled with `-858993460` (a common pattern for uninitialized memory), causing an infinite loop during ship placement due to failed comparisons. The current workaround involves setting `CellValue::Default` to this magic number, indicating an underlying issue with array or struct member initialization.

Complexity: 3/5
bug help wanted

Battleship (C++ Console Project) – A console-based implementation of the classic Battleship game with OOP.

C++
#consolegame#cpp#first-project#object-oriented-programming#oop