Object Oriented Programming; Fall 2016
latest

Getting Started

  • Course Information
  • Installing Python
  • Installing PyGame

Hello PyGame

  • [Week 1] Hello PyGame

Using Objects

  • [Week 2] Introducing State
  • [Week 3] Encapsulating code
  • [Week 4] Our First Object
  • [Week 5] Multiple Objects

Mastering Objects

  • [Week 6] Designing Objects
  • [Week 7] Object Ecosystems
  • [Week 8] Object Practice and Projects
  • [Week 9] Project Discussions

Supplementary

  • Exercises
    • Classes Recap
    • Clean Environment
    • Designing Objects
    • Encapsulation Exercises
    • Intro Object Exercises
    • Multiple Objects Exercises
    • Object Ecosystem Exercises
  • Cookbooks
Object Oriented Programming; Fall 2016
  • Docs »
  • Exercises
  • Edit on GitHub

ExercisesΒΆ

  • Classes Recap
    • The basic class
      • Class with an initial function
      • Thinking about how self works
  • Clean Environment
  • Designing Objects
    • The top
    • Game __init__ function
    • Game Loop
    • The Hero
    • Adding the hero into the game
    • Adding Walls
    • Adding Keyboard Input
    • Jumping
  • Encapsulation Exercises
    • Anatomy of the Pygame loop
    • Exercise 1
    • Exercise 2
    • Exercise 3
    • Exercise 4
    • Final Task
  • Intro Object Exercises
    • Anatomy of the Pygame loop
      • Exercises
    • Exercise 1
    • Exercise 2
    • Exercise 3
    • Exercise 4
      • Extra stuff
    • Class __init__ method
    • Gravity and Jumping 1
    • Gravity+Jumping 2
    • Property Decorator
    • Up-Down triggers
  • Multiple Objects Exercises
    • Anatomy of the Pygame loop
      • Exercises
    • Exercise 0
    • Exercise 1
    • Exercise 2
    • Exercise 3
    • Exercise 4
    • Exercise 5
    • Exercise 6
    • Bonus Exercise
  • Object Ecosystem Exercises
    • Basic Pygame Sprite Class
    • Converting Walls to use sprites
    • If you are having trouble with the game, start here
    • Plan your own ecosystem of objects
Next Previous

© Copyright 2016, Brian McMahan. Revision 822f064f.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.