titolo.png

sound

fleet A
10
9
8
7
6
5
4
3
2
1
    A   B   C   D   E   F   G   H   I   J
           
fleet B
10
9
8
7
6
5
4
3
2
1
    A   B   C   D   E   F   G   H   I   J
           
messages  

Battleship (R. Bigoni - 2018)

This is a JS implementation of the well-known Naval Battle game, in which two players, after arranging their ships in a 10x10-square scheme, try in turn to identify the positions of the opponent's ships.

This page can only work if your browser allows JavaScript.

In this implementation the ships to be deployed are:

The ships must be composed of contiguous squares, arranged horizontally or vertically. They cannot be contiguous.

If the field your name is empty, by clicking the game button, both players are simulated by the software and the user watches the game progress.

If the field your name contains a name, the user fights against the software.
In this case, before starting the game, the user must deploy his fleet in his scheme.

The first move of the first game is randomly attributed. In the following games the first move is alternated between the two players.

 


last updated: March 2018