Chapters

PDF of Invent Your Own Computer Games with Python
PDF and All Source Code


Chapter 1 - Installing Python [related content]
Chapter 2 - The Interactive Shell [related content]
Chapter 3 - Strings [related content]
Chapter 4 - Guess the Number [related content]
Chapter 5 - Jokes [related content]
Chapter 6 - Dragon Realm [related content]
Chapter 7 - Using the Debugger [related content]
Chapter 8 - Flow Charts [related content]
Chapter 9 - Hangman [related content]
Chapter 10 - Tic Tac Toe [related content]
Chapter 11 - Bagels [related content]
Chapter 12 - Cartesian Coordinates [related content]
Chapter 13 - Sonar [related content]
Chapter 14 - Caesar Cipher [related content]
Chapter 15 - Reversi [related content]
Chapter 16 - AI Simulation [related content]
Chapter 17 - Graphics and Animation [related content]
Chapter 18 - Collision Detection and Input [related content]
Chapter 19 - Sounds and Images [related content]
Chapter 20 - Dodger [related content]

Chapter 1

Read online: Chapter 1 - Installing Python

Videos:

Chapter 2

Read online: Chapter 2 - The Interactive Shell

Chapter 3

Read online: Chapter 3 - Strings

Download source: hello.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: hello.py

Chapter 4

Read online: Chapter 4 - Guess the Number

Download source: guess.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: guess.py

Chapter 5

Read online: Chapter 5 - Jokes

Download source: jokes.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: jokes.py

Chapter 6

Read online: Chapter 6 - Dragon Realm

Download source: dragon.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: dragon.py

Chapter 7

Read online: Chapter 7 - Using the Debugger

Chapter 8

Read online: Chapter 8 - Flow Charts

Chapter 9

Read online: Chapter 9 - Hangman

Download source: hangman.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: hangman.py

Chapter 10

Read online: Chapter 10 - Tic Tac Toe

Download source: tictactoe.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: tictactoe.py

Chapter 11

Read online: Chapter 11 - Bagels

Download source: bagels.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: bagels.py

Chapter 12

Read online: Chapter 12 - Cartesian Coordinates

Chapter 13

Read online: Chapter 13 - Sonar

Download source: sonar.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: sonar.py

Chapter 14

Read online: Chapter 14 - Caesar Cipher

Download source: cipher.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: cipher.py

Chapter 15

Read online: Chapter 15 - Reversi

Download source: reversi.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: reversi.py

Chapter 16

Read online: Chapter 16 - AI Simulation

Download source: AISim1.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: AISim1.py

Download source: AISim2.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: AISim2.py

Download source: AISim3.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: AISim3.py

Chapter 17

Read online: Chapter 17 - Graphics and Animation

Download source: pygameHelloWorld.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: pygameHelloWorld.py

Videos:

Chapter 18

Read online: Chapter 18 - Collision Detection and Input

Download source: collisionDetection.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: collisionDetection.py

Download source: pygameInput.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: pygameInput.py

Chapter 19

Read online: Chapter 19 - Sounds and Images

Download source: spritesAndSounds.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: spritesAndSounds.py

Downloads:

Chapter 20

Read online: Chapter 20 - Dodger

Download source: dodger.py

Copy source to clipboard:

Use the online diff tool to find typos in your code: dodger.py

Downloads: