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
- Javascript
- HTML, CSS
- Webpack
- Jest
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.
- User plays against the computer
- User can restart the game
- Computer makes successive moves when it gets a hit
- Make the game playable againt another person
👤 Moses Ogwo
- Github: @mosesogwo
- LinkedIn: @mosesogwo
- Email: [email protected]
👤 Daniel Mitiku
- Github: Daniel Mitiku
- LinkedIn: @daniel-wesego
- Email: [email protected]
This project is MIT licensed.