Skip to content

This is a game app resembling the classic battleship game. It is played against a computer component. It's built in JavaScript.

Notifications You must be signed in to change notification settings

DanielMitiku/battleship

Repository files navigation

Battleship

Battleship is a game played by a human player against the computer. The player attacks the computer by hitting locations on the computer board and vice versa. The player and computer take turns to attack each other by hitting locations on their opponent's board. If the location holds a ship, the ship is hit. The player who sinks all of their opponent's ships first wins the game.

Demo

🔥 Demo

Screenshot

Built With

  • Javascript
  • HTML, CSS
  • Webpack
  • Jest

Getting Started

To get a local copy up and running follow these simple example steps.

  • Clone this repository to your local machine using git clone [email protected]:DanielMitiku/battleship.git.

  • Run cd battleship to move into the app directory.

  • Open the dist/index.html file in your browser.

Current Features

  • User plays against the computer
  • User can restart the game
  • Computer makes successive moves when it gets a hit

Features you can add

  • Make the game playable againt another person

Authors

👤 Moses Ogwo

👤 Daniel Mitiku

📝 License

This project is MIT licensed.

About

This is a game app resembling the classic battleship game. It is played against a computer component. It's built in JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published