Search

$150

for 6 classes
Class

Learn to Code Javascript Pong Game With Phaser

Completed by 45 learners
Ages 12-17
Live Group Class
Students will learn how to code a web-based game using JavaScript.
Average rating:
4.8
Number of reviews:
(329 reviews)

Live video meetings
1x per week, 6 weeks
2-5 learners per class
50 min

What's included

6 live meetings
5 in-class hours

Class Experience

In this course, students will learn how to code in JavaScript while also learning how to create the classic game Pong. Since this course doesn’t use a game library, students will learn concepts like the game loop, collision detection, basic enemy artificial intelligence, control mechanism, rendering, moving images and more. I chose to use Javascript for this class because it is a very popular coding language that is also easier to understand for beginners. In each class I will show and explain how to code sections of the game, then I will ask students to try it out themselves. I will also give out a challenge after every class so students can experiment and grow their knowledge.

In the first week, students will learn how to use Repl and also how to create a basic webpage using HTML with canvas element which we will use to display the game. In the second week students will learn javaScript variables and how to draw on the game. In the third and fourth week, students will learn how to create the player ball and move it while also adding collision detection so the ball can bounce off the walls. In the fifth and sixth week, students will learn how to move the paddle from keyboard inputs and have the paddle interact with the ball. Finally in the seventh and eighth week, students will learn how to move the enemy paddle with simple AI, how to keep score, and the code for when the game is over. Also, if there is time in the last week I will briefly go over how to create this game using a game library and the benefit of doing that.

Students don't need to have coding knowledge but it is helpful. By the end of the course students will have the knowledge of basic programming principles like variables, conditions statements, functions and more. Also students will have a complete Pong javascript game that can be implemented in any webpage. Since this course uses Repl any computer with internet access will work.

Topics the course covers:
        Creating a webpage with a canvas using HTML
        Creating the player ball and moving it
        Code the logic to bounce the ball off the walls
        Keyboard control to move the paddle
        Handling game over
        Enemy paddle artificial intelligence 
        Track the score 

Please note: 
If the student is outside of the age range but you think they still may be suitable for this class, please contact me before signing up. They should have experience navigating around a computer and be able to listen and follow instructions well with minimal help. 

Please review my class rules and policies: https://cdn.filestackcontent.com/GtUqZSL3TDWxSH0n8tem

Other Details

Supply List
Students should make a free account here: https://repl.it/login
External Resources
In addition to the Outschool classroom, this class uses:

Meet the teacher

Joined August, 2019
4.8
329reviews
Profile
Teacher expertise and credentials
I have a degree in computer science and have been coding for over 10 years. I have also worked a few years in the industry creating desktop games. As someone who was originally self taught I know  how important it is to learn code by being very hands-on and experimenting, which is how I will be teaching.

Reviews

Parents also liked
Camp - Minecraft: Learn to Code and Build Games - Level 1
Einsteins Square: Chess, Coding, Math, Art, Games
4.8
(5,853)
$18 per class
Next session at 7 PM on Monday
Group Class
1 wk, 5/wk, 50 min
7-12
Crack the Code: Play Mastermind!
Tracy Frye
4.2
(19)
$10 per class
Next session at 3:30 PM on Thu 6/5
Group Class
1/wk, 30 min
8-13
Extreme Minecraft: Codes and Commands
Fleming Tech Camps
4.9
(26)
$60 per class
Next session at 8:15 PM on Mon 6/16
Group Class
1 wk, 5/wk, 2.92 hr
10-14
Minecraft: Code Adventures - Summer Camp
Fleming Tech Camps
4.9
(26)
$60 per class
Next session at 8:15 PM on Mon 6/2
Group Class
1 wk, 5/wk, 2.92 hr
10-14
Escape Room: Encanto Part 1 With Ciphers & Secret Codes!
Dazzling Minds Academy By Erika Corona
4.7
(1,242)
$12 per class
Next session at 1 AM on Sunday
Group Class
1 wk, 1/wk, 50 min
8-12
Minecraft STEM Engineering Challenge: Build, Code, and Create!
Creative Courses LLC
4.9
(1,025)
$10 per class
Next session at 5 PM tomorrow
Group Class
2 wks, 1/wk, 50 min
8-12
Learn to Play Minecraft Survival- Beginners Class (Bedrock Edition)
Beau Coons
4.1
(34)
$18 per class
Next session at 6:30 PM on Sunday
Group Class
1/wk, 50 min
5-10
Thinking Games: A Weekly Social Games Club
Meghan Jones, M. Ed.
5.0
(1,151)
$11 per class
Next session at 9:10 PM on Monday
Group Class
1/wk, 30 min
6-9
Roblox Fun for Little Gamers – Learn to Play!
Becky Coons
4.7
(538)
$10 per class
Next session at 6:30 PM on Sunday
Group Class
1/wk, 25 min
4-7
Escape Room: Titanic Mystery – Solve Ciphers & Decode Codes!
Dazzling Minds Academy By Erika Corona
4.7
(1,242)
$18 per class
Next session at 10 PM on Saturday
Group Class
1 wk, 1/wk, 50 min
8-12
Extreme Minecraft: Codes and Commands - 4 Day Summer Camp
Fleming Tech Camps
4.9
(26)
$75 per class
Next session at 1 PM on Tue 5/27
Group Class
1 wk, 4/wk, 2.92 hr
10-14
Escape Room: Murder at the Movies- Crack the Code and Catch the Killer!
Dazzling Minds Academy By Erika Corona
4.7
(1,242)
$18 per class
Next session at 3 AM on Saturday
Group Class
1 wk, 1/wk, 50 min
8-12
Anime Arts Weekly: Learn to Illustrate Anime & Anthropomorphic Characters!
Creative Courses LLC
4.9
(1,025)
$10 per class
Next session at 1 PM on Monday
Group Class
1/wk, 45 min
8-12
Learn to Solve the Pyraminx Rubik's Speed Cube Summer Camp
Malikai Bass M.A
5.0
(345)
$15 per class
Next session at 6 PM on Mon 6/2
Group Class
1 wk, 4/wk, 45 min
8-13
D&D Adventurers Class - Learn to Play Dungeons & Dragons
Peter (Professor Wigglebottom) Edwards
5.0
(134)
$30 per class
Next session at 8:30 PM on Thu 5/8
Group Class
1 wk, 1/wk, 2 hr
10-15
Escape Room: Minecraft Part 1 – Crack Ciphers & Unlock Secret Codes!
Dazzling Minds Academy By Erika Corona
4.7
(1,242)
$12 per class
Next session at 2 AM on Sunday
Group Class
1 wk, 1/wk, 1 hr
8-12
See More Classes
Home
Search
Give a Gift Card
Open currency, time zone, and language settings
Language & Region
Log In