00:29 switch statement
07:35 create a moving character for the game
p5 switch statement test sketch: https://editor.p5js.org/xinxin/sketch...
p5 starter sketch: https://editor.p5js.org/xinxin/sketch...
p5 completed sketch: https://editor.p5js.org/xinxin/sketch...
📚 References 📚
The JavaScript Switch Statement, W3Schools, https://www.w3schools.com/js/js_switc...
✨ Special thanks to artist & SUNY Purchase professor Lee Tusman for giving me the idea of using Frogger to teach class and objects ✨