Giter VIP home page Giter VIP logo

battleship-7's Introduction

ULTIMATE BATTLESHIP GAME

Introduction

The live link can be found here - (https://battleshippp.herokuapp.com/)

Ultimate Battleship game is a two player game, which runs in python terminal and is deployed on heroku.

In battleship game user play against computer and try to beat him by destroying the ships. whoever hit all the ships before the other player wins.

website preview

Table of Contents

Table of Contents

1. How to Play

2. Features

3. Technologies Used

4. Testing

5. Bugs

6. Deployment

7. Credits

1. How to Play

Go to top

Battleship game is multiplayer game, in which user play's against computer. After the welcome secreen user is asked to enter the X, Y co-ordinates. when user enter the co-ordinates these co-ordinates are checked by the validate method. if the co-ordinates are not valid it is prompt to enter valid co-ordinates again. if the co-ordinates are valid then checks if the input co-ordinates hit any ship. if it hits a ship place * if not the place X. if all the ships are hit. whoever hit them before wins.

2. Features

Go to the top

  • Stores individual score
  • Ships are placed randomly
  • The player cannot see oppnent's ships.
  • Accepts user input
  • validates inputs
  • you cannot enter co-ordinates outside grid
  • you must enter number
  • you cannot enter the same guess twice.

features preview features preview

3. Technologies Used

Go to the top

Python

  • Python is used to develope the game.

Lucid Chart

  • Lucid Chart was used to show the workflow of the game.

website preview

Github

  • Github is used to store the project.

4. Testing

Go to the top

PEP8 online

PEP8 was used to used the code. All the method to checks input validation are there and tested.

pep8 online

5. Bugs

There is no bug in the game.

6. Deployment

On completion the game is pushed to github. Then Heroku is used the deploy the app.
- Steps for deploymnent
 - Create a new Heroku app
 - set the buildpacks to Python and NodeJs
 - Link the Heroku app to the repository
 - lick on Deploy

7. Credits

Go to the top

  • Code Institute for the deployment terminal.
  • Stackoverflow for the programing help.
  • wikipedia for detail information of the game.

battleship-7's People

Contributors

noreen-wb 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.