Learning Python Through Building Games¶
Welcome! This is the course wiki for the lab's University of Alaska course. Everything taught in the lab is written out here — you shouldn't need anything else open alongside it.
What this course teaches¶
You'll learn programming the way most working programmers actually think: plan the logic first, then build it, in tools that get progressively more "real." Every unit builds the same small project — a text adventure game — one step closer to a real, running program each time:
- Pseudocode & Flowcharts — plan the logic in plain English and diagrams, no code yet.
- Scratch — build it as draggable blocks.
- Python Basics — build it again as real, typed code.
- Evennia — build it inside a real multiplayer game server, in Python.
Alongside the four units is the Builder's Guide — a separate, no-code guide to building rooms and objects in your own personal MUD using typed in-game commands. You can start that any time, even before Unit 1.
Who this is for¶
- Students in the course — work through the units in order, at the pace your instructor sets.
- Parents, other instructors, or anyone curious how the course works — this wiki is open and read-only; browse any part of it.
Units at a glance¶
| Unit | What you learn | Tools |
|---|---|---|
| 1. Pseudocode & Flowcharts | Plan logic before you write any code | draw.io |
| 2. Scratch | The same logic, as draggable blocks | Scratch |
| 3. Python Basics | The same logic, as written code | Python in the lab |
| 4. Evennia | Real software: objects, commands, scripts | Your personal MUD |
| Builder's Guide | Building worlds with in-game commands — start any time | Your MUD, group MUDs |
Note
This guide is maintained by the instructors. If something is wrong or unclear, tell your instructor.