Update of support libraries.
The gamer (left field) plays against the app (right field). Each player has different ships on the 10x10 field - aircraft carriers, submarines, cruisers and sailboats. Each hit is accompanied by a sound, destroyed ships sink, but their outline remains visible.
Ships can be placed automatically (click on the button with the cruiser on the right) or manually by pressing the corresponding cells of the left field. A click on the cell next to the ship increases its length, a click on the ship itself removes it from the field. To completely clean the field, click on the arrow button on the right.
The game begins with the first shot of the player on the right field. The enemy ships correspond in number and size to those of the gamer.
Idea / theory:
http://en.wikipedia.org/wiki/Battleship_(game)