Open Issues Need Help
View All on GitHub Struct CellValue Default - Types.h Issue about 2 months ago
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