包含什麼
4 預錄課程
4 週
教師的支持1 年訪問權
到內容作業
每週 1-2 小時. Each week students will need to do about an hour or two of work on their game, to make sure they are ready to share and prepare for the next class.我們無法翻譯此文,請刷新頁面並再試一次。
課堂經歷
Welcome to Intermediate Python Programming - Text Based Adventure Game Flex Edition an exciting four module course where we will learn how to build a text based adventure game in python. The great thing about the game is that it can be whatever you want it to be, adventure, mystery, or just a story about everyday life. If you already have experience with python and know about variables, lists, and loops, and are ready for an intermediate level course, this adventure is for you. You can make a space adventure game, a mystery, a funny, crazy, or amazing text adventure, or really anything you're interested in. In this course, we will build the elements of the game over four modules, we will build the elements of the game and look at some interesting programming. Students are encouraged to share their code and play each others games each week. They will also be provided with feedback on the games to keep them bug free, and working towards the next exciting iteration. We will learn the next steps in python, functions, and how we can use them to jump around our programs to make an interactive story. We are going to build a game map, create mini games, write a story, and learn how to use random numbers, functions, and other python elements to make a game that is both fun to code, and fun to play. Each week we will work on a new element of the game, and over the duration of the course, build a game that both tells a story, and has a random enough design that it is slightly different each time you play. We will code a game together, and students will get the code at the end of each class to customize, or branch off their own unique concepts. Students should be prepared to work on their own games between classes, and exchange ideas about how to develop a plan and code that meets their story.
學習目標
Students are going to expand their knowledge of basic python variables, loops, and lists with a project that involves functions and other more advanced features of python. We will cover if statements, create some simulated chat characters, and use random elements and numbers to build the game.
In this course, we will build the elements of the game over four modules, we will build the elements of the game and look at some interesting programming. Students are encouraged to share their code and play each others games each week. They will also be provided with feedback on the games to keep them bug free, and working towards the next exciting iteration.
教學大綱
4 課程
超過 4 週課 1:
Introduction to Python Functions and Basic Game Development
This module introduces the fundamentals of Python functions with a focus on basic game development. Students will create simple game scenarios that utilize random numbers, strings, and integers, while learning about the structure and syntax of Python. They will build and expand a simple game environment using Replit, integrating a basic chatbot to enhance interaction and narrative within their game designs.
課 2:
Data Management and Advanced Game Design
In this module, students will learn how to manage and scale game designs using databases. By converting spreadsheet data (CSV) into JSON format, they will streamline the creation of dynamic and scalable game environments. The focus will be on reducing code complexity through database integration and enhancing game interactivity with advanced programming concepts like loops and conditionals.
課 3:
File Handling, Game State Management, and Adding Mini-Games
Module three delves into file handling and game state management, teaching students how to save and retrieve game progress. The module will also introduce the creation of mini-games within the main game environment, enhancing gameplay variety and complexity. Students will apply these skills to their projects, adding layers of interaction and engagement to their games.
課 4:
Module three delves into file handling and game state management, teaching stude
Module four focuses on the use of external APIs to enhance game dynamics, introducing students to the integration of live data into their projects. Participants will learn how to access and utilize various APIs, such as those providing weather updates, astronaut tracking, and rhyming schemes, to create games that offer fresh and engaging content with each play. This module highlights the versatility of APIs in programming, encouraging students to explore creative ways to incorporate real-time da
其他詳情
供應清單
We will be programming everything on your computer or in the cloud, a video will be provided covering both options. The code from each module will be shared in the classroom following the class. The programs needed for programming are all free and available online (like pythonanywhere.com) or by downloading python and an IDE (like Sublime Text or Geany) in addition to Python (from python.org).
外部資源
除了 Outschool 教室外,本課程也使用:
教師專業知識和證書
I love teaching programming using fun and interesting examples because it helps students go farther than learning hard to contextualize concepts. Understanding what we are doing and why means that students will be able to apply algebraic concepts (like x+y) having understood examples like (red bike + blue bike) in a way that has context and meaning.