Back-end for the ShipGame, a Battleship-like game written in Python
Find a file
2022-04-05 12:22:24 -04:00
.gitignore Initial commit 2022-04-05 18:03:44 +02:00
LICENSE Initial commit 2022-04-05 18:03:44 +02:00
README.md Updated README.md 2022-04-05 12:22:24 -04:00
ShipGame.py Added ShipGame.py 2022-04-05 12:21:44 -04:00

ShipGame

This program was my final project for CS 162 - Introduction to Programming II at Oregon State University. ShipGame is a Battleship-like game for two players.

Program Description

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 opponents 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.