Skip to content
donnywdavisPublic

About

Simple game of Battleship to learn Python.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages