Giter VIP home page Giter VIP logo

battleship-9's Introduction

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

Screenshot (1)

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.

Screenshot (3)

You can then choose size of board anf number of ships. it teel you the row and col max size and number of hits.

Screenshot (4)

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.

Screenshot (5)

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

Screenshot (6)

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.

battleship-9's People

Contributors

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