How to code Defend the Island


#1

Kids Makers Rocks with the Robots, pages 35-38 Defend the Island seems to confuse the Fort with a Cannon, adds a variable called “target” which is not else where defined, and is generally unclear about who is shooting at whom.
Has anyone worked through this example? Can you share your changes to the text in the booklet?
Thanks,