Cover
Python with Parzival
Cover
Preface
1
Announcing the Quest: Your First Steps in Python
2
The Language of Chivalry: Mastering Escape Characters
3
Parzival’s Identity: The Magic of Variables
4
The Power of Input: Interacting with the User
5
Debugging Basics: Unraveling the Mysteries of Code
6
Python Data Types: Strings and Numeric Types
7
Arithmetic Operators: The Magic of Mathematical Operations
8
String Wizardry: Mastering F-Strings
9
The Grail Castle Test: Mastering ‘If’ Statements
10
The Grail Castle Test: Mastering ‘Elif’ and ‘Else’ Statements
11
The Grail Castle’s Labyrinth: Mastering Nested Conditional Statements
12
Python Lists: Creating Your Inventory
13
Python Lists: Modifying Your Inventory
14
Python Lists: The Art of Slicing
15
Python Tuples: Immutable Treasures
16
The Magic of Merlin: Importing Libraries - The Random Library
17
The Magic of Merlin: Built-in Math Operations and the Math Library
18
The Round Table: Basic Sorting in Python
19
Decoding Ancient Texts: String Methods (Part 1)
20
Decoding Ancient Texts: String Methods (Part 2)
21
Decoding Ancient Texts: The Art of Error Handling
22
The Try/Except Structure: Catching Errors
23
For Loops: Parzival’s Repetitive Quests
24
While Loops: Parzival’s Persistent Quests
25
Nested Loops: Parzival’s Complex Quests
26
Advanced Debugging: Mastering the Art of Code Divination
27
Python Functions: Knightly Skills
28
Python Functions: The Power of Parameters
29
Python Functions: Mastering Return Values
30
Python Functions: Understanding Variable Scope
31
The Grail’s Secrets: Creating and Accessing Dictionaries
32
The Grail’s Secrets: Adding and Changing Dictionary Items
33
The Grail’s Secrets: Removing Items from Dictionaries
34
The Grail’s Secrets: Dictionary Methods and the ‘in’ Operator
35
Why Do We Need Classes? A Tale of Adventure and Code
36
Character Classes: Creating Your Own Types
37
Character Actions: Adding Behaviors with Methods
38
Class Inheritance: Creating Character Specializations
39
Advanced Class Concepts: The Deeper Mysteries
40
The Beginning of Your Game Development Quest
41
Mapping Your Game World: Colors and Coordinates
42
The Artist’s Tools: Drawing Primitives and Shapes
43
The Power of Imagery: Loading and Using Sprites
44
Mastering the Image Bank: Organizing Your Game’s Visual Assets
45
Bringing Your World to Life: Basic Sprite Movement
46
Mastering Player Input: Keyboard, Mouse, and Gamepad
47
The Art of Collision Detection: Making Your Game Interactive
48
Bringing Sprites to Life: Animations and Flipping
49
Pyxel Commands Cheatsheet (Lessons 15a-15f)
Table of contents
Cover
Python with Parzival
Author
Mr. Armstrong
Published
July 18, 2025
Cover
Start your quest here →
Preface