Giter VIP home page Giter VIP logo

battleship-28's Introduction

Big Quiz

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.

mockup

Index

Technologies Used

Features

  • 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.

Testing

  • 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.

Functionality

  • 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.

Bugs

  • No Bugs found.

pep8

Deployment

  • 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.

Credits

  • 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.

battleship-28's People

Contributors

archie9010 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.