Skip to content

donnywdavis/pyShip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple game of Battleship to learn Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages