Skip to content

10234567Z/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

Battleship is a game where you war against computer opponent . You can :

  • Make your own custom battlefield
  • Randomize the ships at the start of the game
  • Attack enemy base to find and destroy their all ships before they destroy yours!

Use the Live deployed version of it here
image

Content

Features

  • You choose the ships of size ranging from 1 to 5
    image
  • Drag feature is available (for mouse users) , on pointer device consider using randomize button
    image
  • A computer opponent to compete against , which will destroy your map's ships until you destroy opponent's all ships!
    image

Stack Used

  • Javascript

  • CSS3

  • HTML5

  • Webpack

    CSS3 Javascript Javascript Javascript

Installation

Pre-requisites:

  • Have git installed and have your github account connected to your local system
  • Live server extension on your local editor

How to install

  • Open your command line interface/Terminal and navigate to the directory you want to install the repository.
  • Type the following commands -:
    git clone [email protected]:10234567Z/Battleship.git
    cd Battleship
    npm install
    
  • Run HTML file with live server extention and then open that URL given by it.

Contribute

Fork the repository , have fun contributing in this project! For more information on how to contribute , Check out this link

License

This project is licensed under BSD license.