Videos

Intro

  1. Setting up the Python environment with Anaconda and Pygame
  2. Spyder, Interactive Python (ipython), “Hello, world!” example
  3. Variables, Types of Variables and their conversion
  4. If statements (else, elif). Input from the keyboard. Example of age ranging
  5. Loops: for and while. Example of power of 2 numbers from 1 to 10
  6. Arrays/Dictionaries
  7. Intro to pygame
  8. Reading files

Entry level exercises

  1. Guess the number
  2. Rock, scissors and paper
  3. Fibonacci series
  4. Ceasar cypher and decoding it
  5. Chinese calendar
  6. Hangman
  7. Palindrom check
  8. Fractals

More difficult projects

  1. Tiles
  2. Snake
  3. Tetris
  4. Flappy Bird
  5. Battleship
  6. Calculator
  7. Chat bot
  8. Chess
  9. Chat app
  10. Ping-pong
  11. Angry Birds

Source Code

Larger Pygame Python Projects

  1. Tetris
  2. Pusher
  3. Ray Tracing with Distance Function
  4. Ray Tracing
  5. Ballistics
  6. Google Chrome Dinosaur
  7. Physics Engine