What is Guil assuming with the damage array?
I just wanted to understand Guil's thinking with the damage array. From how I view it, when the damage array is the same as the locations array, is that how a 'sunken ship' is determined? Then I assume that there will be some logic in place whereby once all ships have been damaged (all ships will have location and damage as the same array elements), a winner is determined?
Thanks for the help.