Competitor's ships number:
Computer's hits:
Player's hits:
Winner:
Player's wins:
Computer's wins:
Draws:
Games number:
The final winner:
I've used EcmaScript modules for the first time to write down the game. It is very nice and convienient as writing a code, but I think Webpack is more convienient still. I must confess, I had a problem width connection between files in the project, it seems easy but isn't. The game is very complicated, and the code is quite vast. Have a nice fun.