Battleship console game
This is a battleship console game I wrote in C++. #include <string> #include <iostream> #include <process.h> #include <cstdlib> #include <time.h> using namespace std; int const ROW = 3; int const COL = 3; int subX, subY; int guesses = 5; int board[ROW][COL]; bool hasWon = false; void winScreen() { cout << “You won with ” … Read more