Naval Battle

Following game has been created as a project work for the course “Tik-76.030 Basic Course in Programming Y1” in Helsinki University of Technology. Game allows human player to challenge computer. During setting-up phase built-in logic assures that ships are not touching each other. When ship is sunk all squares around it are marked and neither human player nor computer can choose those squares to shoot anymore. Computer AI is rudimentary. It shoots randomly but never at the same square twice. Continue reading “Naval Battle”