A single player battleship game where the player tries to sink all of the opponent's ships
This project was made using TDD principle. (test-driven development)
It was built using:
- JavaScript
- SASS
- Webpack
- Jest
Either drag and drop your ships on the board (single click to rotate them) or use the random placement button.
- Enter you name and proceed forwards
- After placing all 5 ships on the board,horizontally or vertically, click the start button to play.
- Click on a tile to make fire a shot.
- A dot means a miss
- A blue "X" wit a light background means a hit
- A red "X" with a dark background means the ship has sunk
- You win when you sink all the computer's ships
