Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1022 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 1022 Bytes

BattleShip Game

Based on the classic Battleship game. It is a game of strategy and guesses.

BattleShip.webm

Features

  1. The placement of ships can be randomized.
  2. Users can arrange the ships on the board themselves.
  3. Play against a computer trained to strategize their moves.

Technologies

  1. React
  2. React DnD
  3. Context API
  4. useReducer
  5. React Router
  6. CSS and HTML

How to Play the Game?

There is a 10X10 board. You place your ships on the board. You hit on the enemy's cells one at a time and try to take down all of their ships before they do the same with yours.

image

image