Part of this array holds Sectors (8 x 8), Quadrants (8,x8) and ship damage so I created separate arrays and structs for those. As Basic arrays usually start at 1, but C start at 0, I made the arrays one extra- eg an 8 x 8 array was 9 x 9 so elements 1-8 can be indexed without changing any code. Normally in C, an 8 x 8 array is indexed from 0 to 7.
It's easy to criticise the writer of this game but it was 30 years ago and 8 KB is not a lot of code in which to create a game as well as hold the Basic interpreter, so the programmer had to work within very tight constraints. Hopefully we've moved on from these practices!
On the next page What each variable does.

