More detailed explanation at here : https://cheehouprogramming.wordpress.com/2021/09/23/battleship-game-in-c-console-part-1/
More detailed explanation at here : https://cheehouprogramming.wordpress.com/2021/09/23/battleship-game-in-c-console-part-1/