если вы не успели расставить корабли, вам засчитают поражение
если во время игры вы не успели сделать ход, он переходит противнику
в конце игры таймер останавливается
таймер умеет определять, чей ход (если ваш - зеленый, если противника - оранжевый)
во время перехода хода, есть небольшая задержка, после чего поле автоматически меняется (немного багованная штука, реализована на setTimeout. Если противник сходит быстрее, чем время задержки (1с), переключатель сломается. Это временное решение, далее надо будет разобраться, как сделать лучше)
Задача
Добавить функциональный таймер
Особенности работы