-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
17 lines (9 loc) · 823 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Each player starts with a fleet of 5 ships, of hole 5, 4, 3, 3, and 2.
There will be two grids. One is ocean grid and other one is target grid.
Each player places their ships horizontally or vertically on a 10x10 ocean grid; this is not visible to their opponent.
Player can't place his ship out side the ocean grid and also one ship can't be placed on the other ship.
Diagonal placement of ship is not allowed.
Players take turns to fire at positions on the grid, and get information about the shoot whether it has been hit or missed.
A ship is destroyed when every hole of a ship has been hit.
The winner is the first player to destroy their opponent’s fleet.
Important: - If any fellow wants to add more functionality or edit the programm, before going forward that fellow has to run a command " npm install".