Skip to content

wathigo/battleship

 
 

Repository files navigation


Logo

Battleship

JavaScript Project

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Logo

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.

  1. Guess a the location of a ship in the Computer player grid.
  2. Based on your choice, the background of the chosen location changes accordingly.
  3. The shot can either be a hit or a miss.
  4. The player who hits all the ships first wins the game.

Usage

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

Testing

To run the tests, run:

npm test

Built With

Contact

About

PROJECT: BATTLESHIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.4%
  • CSS 17.6%