Implementation of the "Sea Battle" game on the "Tida" framework using the OOP structure.
At the moment, only one game can be played alone with a bot. The bot can make moves,
and if it finds a ship, it finds adjacent decks until it completely destroys it.
Win or lose is determined by the background. If green - the player won, red - the computer.
To restart the game, press the "R" button and the game will clear the field and randomly generate both cards.
Implementation of the "Sea Battle" game on the "Tida" framework using the OOP structure.
At the moment, only one game can be played alone with a bot. The bot can make moves, and if it finds a ship, it finds adjacent decks until it completely destroys it.
Win or lose is determined by the background. If green - the player won, red - the computer.
To restart the game, press the "R" button and the game will clear the field and randomly generate both cards.