I6: Tables

I’m about to implement a puzzle featuring a number of trees of different height growing fruit of different size and colour. The player has the same biological knowledge as me (i.e. can hardly distinguish an apple from a banana) and has to combine two or three clues to pick the correct fruit. I even know (or rather guess) how I’d do this under I7, but here it’s I6. I’m hardcoding it now with three arrays and no random spread, not too difficult, but for education purposes I’d be really curious to know how this could be done in an elegant way, like, spreading the attributes randomly across the trees. Any hints?