Moron Test Version 5

(Assignment here)

Moron Test Version 5

Blog Questions

  • The values of icon and i are created in the outer iconListener function. The icon value is accessed to add the “click” event listener, and then these values are passed into the inner runScene function.  The i value is accessed in the runScene function to compare the index value of the icon clicked to the index value of the answer, and then these values are passed from the outer runScene function, into the inner scene[level].main function.

Leave a Reply

Your email address will not be published. Required fields are marked *