implement check for hits on ships and "game over" detection