This is a simple Battleship game where the computer draws a board where 11 ships are hidden.
The board is 10x10 and internally uses a coordinate system that uses 2-digit strings - "xy" (0-9 each digit).
The ships used in the game can have size 1, 2, 3, 4 or 5.
The size 5 ship is T-shaped and can have 4 possible orientations:
▓▓ ▓▓▓▓▓▓ ▓▓ ▓▓ ▓▓▓▓▓▓ ▓▓ ▓▓▓▓▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓▓▓▓▓
The other are linear ships with 2 possible orientations (N-S or E-W).
4 ▓▓▓▓▓▓▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ ▓▓ 1 3 ▓▓▓▓▓▓ ▓▓ ▓▓ 2 ▓▓ 3 2 ▓▓▓▓ 4 1 ▓▓
- Javascript
Run the .....
This application runs on any browser.
The app is awesome!
The MIT license.
- CJL - Youtube Channel
See also the list of contributors to this project.