👋 Welcome to Python Game Design!
What is Python?
Python is a programming language used throughout the world. People like Python because of its ease of use and its power. We will use Python to create games that you can actually play and enjoy!
Here’s a quick guide for Python syntax (how to code in the Python language). You may find this helpful as you program your project.
Teaching tips
Summary
Overview: Students will use the Python programming to code a Choose Your Own Adventure game on the Repl.it platform.
Time: About 1-3 class periods per project; can be completed at your own pace.
Programming Languages: Python
Programs and Software Used:
What’s Covered?
- Conditionals
- If/then statements
- Elif (else/if)
- Packages
- Refactoring
- Variables
- Boolean and While loops
- Concatenation and strings
- String formatting
- Lists
- Constant variables
- Functions
- Newline characters
- Inputs and curly brackets
Prerequisites and Tech Requirements
Students: We recommend students ages 8+ with solid typing skills. If this is their first myBetabox Python project, we recommend starting with Rock, Paper, Scissors to cover some fundamentals.
System Compatibility: Windows |
Mac |
Chromebook |
iPad
Access: Make sure you and your students have the following domains whitelisted by your IT department (or a parent/guardian if remote learning) and have downloading permissions enabled:
- repl.it
Lesson Steps
- Have students read the following sections:
- Welcome to Python Game Design!
- Setting Up Repl.it
- Keyboard Guide
- Guide your students into creating their Repl.it accounts. They may need to verify their accounts in their emails. Once they have them set up, they can share their progress with you.
- Introduce the Repl.it tools and interface in Setting Up Repl.it.
- Check for understanding on how to type the symbols in the Keyboard Guide.
- If you'd like, you can print out our Python cheat sheet and distribute to your students for their reference. This is also found in their Welcome to Python Game Design! section.
- Review the section vocabulary below.
Vocabulary
- Code: Instructions that tells a computer or computer program what to do.
- Verify: To prove.
- Interface: The area where a user can interact with the computer, usually by clicking or typing.
- Syntax: The format, or way, code typed. Syntax is different for different languages.
