Battleship game in 40 lines from Codecademy