Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Embark on a serene 21-minute ASMR-style JavaScript tutorial that guides you through programming the classic game Pong using HTML5 Canvas. Set in a tranquil park environment, learn to create a fully functional Pong game from scratch while enjoying the soothing sounds of nature and coding keystrokes. Begin with canvas setup, progress through drawing paddles and implementing user input, then advance to creating a ball with randomized movement and collision detection. Follow along step-by-step, from the initial setup to the finished product, all while immersed in a peaceful outdoor coding experience. Perfect for those seeking a unique blend of programming instruction and relaxation.
Syllabus
Intro and background
Canvas setup
Draw paddles
Respond to user input
Restrict paddle to boundaries
Create a ball
Randomized ball movement
Ball and paddle collision
The finished product
End screen
Taught by
Chris Courses