*Battle of the Agents game

A version of the classic battleship game, the agents are placed where according to the coordinates in the data boxes, and places the torpedo according to the "opponent guess" data box. This simple version uses the same number to set the x and y coordinates, so challenge yourself and make a version that allows you to place your battleships and torpedos at different x and y coordinates.

To make the ships and torpedoes visible, their size is set to 10 and 5, which makes a near guess into a hit. When the torpedo hits the battleship, the ship is deleted and the torpedo gets much bigger. Use setup each time the locations of the battleships are moved.

Engine speed5