JavaScript Project
View Demo
·
Report Bug
·
Request Feature

Based on the Battleship in the odin project as a part of the Microverse curriculum.
The purpose is to get a good understanding on Test Driven development and get some knowledge about game development. You play againist the computer.
The following are actions that can be done on the application.
- Guess a the location of a ship in the Computer player grid.
- Based on your choice, the background of the chosen location changes accordingly.
- The shot can either be a hit or a miss.
- The player who hits all the ships first wins the game.
Clone the repository:
git clone https://github.com/wathigo/battleship.git
Cd into the cloned repository:
cd battleship
Install dependencies:
npm install
Start the development server:
npm start
To run the tests, run:
npm test