ShipGame

image.png

This project is a backend for the ShipGame, a Battleship-like game written in python.

Each player has a 10x10 grid on which they place their ships. On their turn, the player fires a torpedo at a square on their opponent’s grid. Player ‘first’ gets the first turn, after which the players alternate. A ship is sunk when all of its squares have been hit. A player wins when all of their opponents ships have been sunk. Source Code