The Mystic Reader  




The COLORS_ARRAY item has the array index of targetIndex. So for example, if the random number stored in targetIndex is 3, the color name in COLORS_ARRAY with the index of 3 should now be stored in target. (In the example array given above, that value would be 'gray'.) • TIP: This is not necessary for the game logic, but to make it easier for you as a developer to test the game, we suggest that you a