for 6 classes
班級

學習使用 Phaser 編寫 Javascript Pong 遊戲程式碼

由 45 位學習者完成
年齡 12-17
現場團體小班課程
學生將學習如何使用 JavaScript 編寫基於網路的遊戲。
平均評分:
4.8
評論數量:
(329 評論)

即時視訊會議
每週1次,共 6 週
2-5 名學習者(每班)
50 分鐘

包含什麼

6 現場會議
5 上課時間
我們無法翻譯此文,請刷新頁面並再試一次。

課堂經歷

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

其他詳情

供應清單
Students should make a free account here: https://repl.it/login
外部資源
除了 Outschool 教室外,本課程也使用:

認識老師

已加入 August, 2019
4.8
329評論
教師檔案
教師專業知識和證書
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.

評論

其他家長也喜歡
訓練營 - Minecraft:學習程式設計和開發遊戲 - 1 級
Einsteins Square: Chess, Coding, Math, Art, Games
4.8
(5,886)
每班
下次會議在 7 PM Monday
團體課
1 週, 5/週, 50 分鐘
7-12
破解密碼:玩主謀!
Tracy Frye
4.3
(20)
每班
下次會議在 3:30 PM Thu 6/5
團體課
1/週, 30 分鐘
8-13
極限 Minecraft:程式碼和命令
Fleming Tech Camps
4.9
(26)
每班
下次會議在 8:15 PM Mon 6/16
團體課
1 週, 5/週, 2.92 小時
10-14
Minecraft:程式碼冒險 - 夏令營
Fleming Tech Camps
4.9
(26)
每班
下次會議在 8:15 PM Mon 6/2
團體課
1 週, 5/週, 2.92 小時
10-14
逃脫室:Encanto 第 1 部分,包含密碼和秘密代碼!
Dazzling Minds Academy By Erika Corona
4.7
(1,243)
每班
下次會議在 10 PM Sat 5/24
團體課
1 週, 1/週, 50 分鐘
8-12
與伊蓮一起玩遊戲:)
Ms.Elaine
5.0
(16)
每堂課
一對一課程
依需求開班
7-14
學習玩《我的世界:生存》- 初學者班(基岩版)
Beau Coons
4.1
(34)
每班
下一堂課明天 6:30 PM
團體課
1/週, 50 分鐘
5-10
Roblox 為小玩家帶來樂趣 – 學習玩遊戲!
Becky Coons
4.7
(539)
每班
下一堂課明天 6:30 PM
團體課
1/週, 25 分鐘
4-7
密室逃脫:泰坦尼克號之謎-破解密碼並破解密碼!
Dazzling Minds Academy By Erika Corona
4.7
(1,243)
每班
下次會議在 12 AM Tue 5/27
團體課
1 週, 1/週, 50 分鐘
8-12
思考遊戲:每週一次的社交遊戲俱樂部
Meghan Jones, M. Ed.
5.0
(1,154)
每班
下次會議在 9:10 PM Monday
團體課
1/週, 30 分鐘
6-9
初學者學習玩 Minecraft Creative(基岩版)
Beau Coons
4.1
(34)
每班
下次會議在 6:30 PM Monday
團體課
1/週, 50 分鐘
5-8
學習玩龍與地下城 (D&D) + 單人冒險
Animation Atelier
4.9
(28)
每堂課
一對一課程
依需求開班
13-18
動漫藝術週刊:學習繪製動漫和擬人化角色!
Creative Courses LLC
4.9
(1,026)
每班
下次會議在 1 PM Monday
團體課
1/週, 45 分鐘
8-12
學習解決金字塔魔方夏令營
Malikai Bass M.A
5.0
(347)
每班
下次會議在 6 PM Mon 6/2
團體課
1 週, 4/週, 45 分鐘
8-13
D&D 冒險家課程 - 學習玩龍與地下城
Peter (Professor Wigglebottom) Edwards
5.0
(140)
每班
下次會議在 8:30 PM Thu 5/29
團體課
1 週, 1/週, 2 小時
10-15
極限 Minecraft:代碼和命令 - 4 天夏令營
Fleming Tech Camps
4.9
(26)
每班
下次會議在 1 PM Tue 5/27
團體課
1 週, 4/週, 2.92 小時
10-14
查看更多課程
回首頁
搜尋
贈送禮物卡
開啟貨幣、時區和語言設置
語言&地區
登入