Skip to content

mct0006/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

battleship

As I was working on my Python skills, I ran across a tutorial that had the user create a game of Battleship. I thought that the setup was lame, got angry, and decided to build my own version.

My original battleship.py file was fairly elementary--the human is the only player, and gets 60 turns to try to sink all of the ships before the game ends.

The updated version looks similar, but I've built a computer opponent to play against. The computer is actually a bit too smart; I need to adjust that code a bit. I intend to make a few more small changes to make gameplay a bit better, but overall I'm happy with the code.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages