Javascript Documentation Week 3 – Justin Chen

Link: http://imanas.shanghai.nyu.edu/~jc8017/Week%203/index.html

Getting the right pictures to make it opaque is the real challenge when doing this assignment. I implemented a round robin style method where each picture is associated with a single number. There is a variable that tracks the current picture by having it assigned the number of the current picture. This variable tells which picture to “light” up. As the user presses the walk button, the variable increases in value. Once it reaches the max, the variable will be automatically set to zero. Thus, it comes back full circle.

Leave a Reply