Outschool
開啟貨幣、時區和語言設置
登入

第 4 部分:使用 Matlab 開發 Roborace 遊戲

在本課程中,學生將學習在 MATLAB 中建立賽車遊戲。他們將設計賽道、對機器人運動進行編程,並添加令人興奮的功能,如障礙物和能量提升,將編程技能與創意遊戲設計相結合。
班級

包含什麼

5 現場會議
5 上課時間
作業
每週 1-2 小時. 1-2 整堂課
評估
1-2 整堂課
我們無法翻譯此文,請刷新頁面並再試一次。

課堂經歷

英語程度 - A2
Beginner - Intermediate 等級
What Will Be Taught?

This course teaches students how to create a robot racing game using MATLAB. Students will learn essential programming concepts, including controlling movements, designing race tracks, and integrating game features such as obstacles and power-ups.

What Topics Will I Cover?

Introduction to MATLAB and Robotic Concepts: Basic understanding of MATLAB and robotics, setting up the game environment.
Designing the Race Track: Using MATLAB to create a race track layout and understanding graphical plotting.
Programming Robot Movements: Coding robot controls, movement logic, and collision detection.
Adding Obstacles and Power-Ups: Enhancing the game with features like barriers and speed boosts.
Race Day and Tuning: Final adjustments, playtesting, and showcasing the completed game.

How Is My Class Structured?

Lecture and Demonstration (10-15 minutes): Each lesson begins with an introduction to key concepts, accompanied by live demonstrations in MATLAB.
Interactive Coding (15-20 minutes): Students will code along with me, implementing game features step-by-step.
Game Development (15-20 minutes): Students apply the concepts learned by developing their own robot racing game.
Q&A and Playtesting (5-10minutes): Sessions will conclude with opportunities for students to test their games, ask questions, and discuss improvements.

How Will I Teach?

I will use a hands-on teaching approach, where students actively participate in coding exercises and apply what they’ve learned to build their game. Lessons are designed to be interactive and engaging, with live coding demonstrations and real-time problem-solving.

What's My Teaching Style?

My teaching style is interactive and student-centered, focusing on making coding accessible and fun. I encourage creativity and exploration, allowing students to experiment with their designs while providing guidance and support.

How Much Will Learners Get to Interact With me?

Live Coding: Students will follow along with coding exercises, receiving immediate feedback and support.
Game Development: I will provide individualized guidance as students develop their racing games, helping them troubleshoot and refine their work.
Playtesting and Feedback: Students will test their games, share their results, and receive constructive feedback to improve their projects.

學習目標

Students will be able to build a robot racing game in MATLAB, including designing the race track, programming robot movements, adding obstacles and power-ups, and fine-tuning their game for an exciting final race.
學習目標

教學大綱

5 課程
超過 5 週
課 1:
Introduction to MATLAB and Basic Graphics
 In this introductory lesson, students will become acquainted with the MATLAB environment, focusing on the interface and essential commands. The lesson covers basic plotting functions such as plot, rectangle, and line, enabling students to create simple figures and draw basic shapes. By the end of this lesson, students will have a foundational understanding of how to visualize data in MATLAB. For homework, they will modify shapes or colors in a provided script, reinforcing their grasp of basic gr 
60 分鐘線上直播課
課 2:
Axis Manipulation and Looping
 This lesson teaches students how to manipulate plot dimensions using the axis command and introduces the concept of looping through for and while loops. Students will learn to adjust plot limits and create simple animations, such as moving a rectangle across the screen, to understand how loops can be used to create dynamic content. The homework involves creating a basic moving object using loops, allowing students to apply their knowledge of axis manipulation and looping. 
60 分鐘線上直播課
課 3:
Interactivity and Conditional Statements
 In this lesson, students will add interactivity to their MATLAB programs by introducing conditional statements and user input functions like waitforbuttonpress or input. They will learn to implement if statements to control the flow of their animations and stop them based on specific conditions. Homework will focus on experimenting with different conditions to control the stopping behavior of objects, enhancing their interactive capabilities. 
60 分鐘線上直播課
課 4:
Building the Game Environment
 This lesson focuses on constructing the game environment, including the racing track, lanes, and finish line. Students will use plotting functions and text annotations to draw and position elements on the track, such as robots and obstacles. They will also introduce randomness in robot movement to simulate a racing scenario. For homework, students will customize the track or robot appearance, applying creative touches to their game environment. 
60 分鐘線上直播課

其他詳情

父母的引導和規範
Students will need to download the Octave (an open-source alternative to MATLAB) in order for them to be able access the lessons and practise the MATLAB coding that is done in each lesson. Please use the link below to download and install Octave free of charge. https://octave.org/
外部資源
學習者無需使用標準 Outschool 工具以外的任何應用程式或網站。
來源
https://octave.org/
已加入 February, 2024
教師檔案
教師專業知識和證書
非美國 教學證書 在 數學
學士學位 在 科學 從 University of West Indies
Bachelor's degree in Physics
I completed a Master's degree in Physics and Engineering in Medicine which focused on the use of Matlab in engineering.

評論

現場團體課程
分享

US$20

每週
每週1次,共 5 週
60 分鐘

即時視訊會議
年齡: 13-17
4-10 每班學員人數

關於
支援
安全隱私加州隱私學習者隱私您的隱私選擇條款
下載這個軟體
在應用程式商店下載在 Google Play 上取得
© 2025 校外