Battleship
Battleship is a strategy type guessing game for two players. It is played on ruled grids on which each player's fleet of ships (including battleships) are marked. The locations of the fleets are concealed from the other player. Players alternate turns calling "shots" at the other player's ships, and the objective of the game is to destroy the opposing player's fleet.
Existing Features
It starts with enter name here. Consists of 3 rules. At the end, the user needs to press Enter in order to start the game.
You can then choose size of board anf number of ships. it teel you the row and col max size and number of hits.
Next enter row and column numbers it will show you wether you hit or missed and the wether the computer hit or missed. you then have the option to contiinue or quit.
After you play the game it will tell you if you won or lost. at the bottem it will ask you to play again or quit game.
Bugs
there is a error called Missing module docstring pylint(missing-module-docstring). at the moment im looking to fix thet but it seems to have no effect on the game.
Validator Testing
no errors were returned frompep8online.com
Deployment
This project was deployed using Code Institue's mock terminal for Heroku. Step for deploment- Fork or clone this repository Create a new Heroku app Set the buildbacks to Python and NodeJS Link the app and repository Click on deploy
Credits
Content
I used multiple people finished projects as example to finish the game. the limks to them are as follows-
https://github.com/Code-Institute-Submissions/BattleShip-7
https://github.com/Code-Institute-Submissions/battleships-9
https://github.com/Code-Institute-Submissions/battleships-9
The last one influence the game the most.I also wathed a video on youtube-https://www.youtube.com/watch?v=7Ki_2gr0rsE
the Portfolio Project Scope was use as well.