Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 600 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 600 Bytes

pyShip

Build Status

This is a small little CLI game to tinker with and learn Python. It can support either single player against the computer or two players. You can select the number of ships on the board as well between two and five.

Usage

$ python main.py -p 2 -s 5

-p, --number_of_players - The number of players for the game. Can be one or two. Defaults to one.
-s, --number_of_ships   - The number of ships for each player. Can be two through 5. Defaults to five.