Welcome to Battleship game A simple battleship game in Python. Battleship is the classic naval combat game. In the battle, you search for the enemy's ships and destroy them. No ship is safe in this game of stealth and suspense.
- Board contains 5 columns and 5 rows.
- Game has 10 turns limitation.
- After "Hitting" ship congratulation message is displayed.
- After 10th turn game over message is displayed.
- If user input numbers out of range "That's not even in the water. Try again!" message is displayed.
- PEP 8
- For checking python convention.
- W3School
- For problem solving.
- Github
- For storing project code written in gitpod.
- Heroku
- To deploy project into live environment.
- Incorrect type of data provided into the terminal to ensure triggering correct messages.
- While coding, I did perform test through the terminal each time new function was implemented.
- Tested final project on Heroku.
- No Bugs found.
- Push the latest code to GitHub.
- Go to Heroku.
- Select new in the top right corner.
- Create new app.
- Enter the app name and select Europe as the region.
- Connect to GitHub.
- Search for repo-name.
- Select connect to the relevant repo you want to deploy.
- Select the settings tab.
- Add buildpacks.
- Select Python, then save changes.
- Select Nodejs, then save changes.
- Make sure Heroku/Python is at the top of the list, followed by Heroku/Nodejs.
- Navigate to the deploy tab.
- Scroll down to Manual Deploy and select deploy branch.
- The inspiration for this project came from Code Institute Assesment guide and Youtube videos.
- Heroku deployment instructions from Code Institute
- Python essential template provided by Code institiute.