mirror of
https://codeberg.org/andyscott/ShipGame.git
synced 2025-01-01 13:55:53 -05:00
Update 'README.md'
This commit is contained in:
parent
3132a78c73
commit
3c788c3949
1 changed files with 3 additions and 6 deletions
|
@ -1,13 +1,10 @@
|
||||||
# ShipGame
|
# ShipGame
|
||||||
|
|
||||||
This program was my final project for **CS 162 - Introduction to Programming
|
ShipGame is a Battleship-like game for two players. This code provides
|
||||||
II** at Oregon State University. ShipGame is a Battleship-like game
|
a backend for the game written in Python.
|
||||||
for two players.
|
|
||||||
|
|
||||||
## Program Description
|
|
||||||
|
|
||||||
Each player has a 10x10 grid on which they place their ships. On their
|
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.
|
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
|
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
|
ship is sunk when all of its squares have been hit. A player wins when
|
||||||
all of their opponents ships have been sunk.
|
all of their opponents ships have been sunk.
|
Loading…
Reference in a new issue