Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.16 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.16 KB

BATTLESHIP

About the Project

Battleship is a game created using React js.

What I have used

  • React hooks
  • SCSS
  • Factory Function
  • Jest - Testing
    • Unit Testing
    • Mock Functions

Features

  • Drag and Drop
  • Randomized ship Arrangements - Recursion.
  • AI for the computer moves.

* AI- The computer moves try out the adjacent grid after hitting the ship.

To Play the Game Locally

Clone and run.

git clone https://github.com/BLooDBRothER/Battleship.git
cd Battleship

Runs the app in the development mode.

npm install
npm start

Open http://localhost:3000 to view it in your browser.

To Run the tests

npm test

Reference