by Joe Warren, Scott Rixner, John Greiner and Stephen Wong

This course is designed to be a fun introduction to the basics of programming in Python. Our main focus will be on building simple interactive games such as Pong, Blackjack and Asteroids.

Categories:

  • Computer Science: Software Engineering

University:

  • Rice University

Workload: 7-10 hours/week:

  • Taught In: English
  • Subtitles Available In: English

Session:

  • Oct 7th 2013 (9 weeks long)

About the Course

This course is designed to help students with very little or no computing background learn the basics of building simple interactive applications.
Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple.
These applications will involve windows whose contents are graphical and respond to buttons, the keyboard and the mouse.

The primary method for learning the course material will be to work through multiple "mini-projects" in Python.
To make this class enjoyable, these projects will include building fun games such as Pong, Blackjack, and Asteroids.
When you’ve finished our course, we can’t promise that you will be a professional programmer, but we think that you will learn a lot about programming in Python and have fun while you’re doing it.

Course Syllabus

Week Topics Mini-project
0 Statements, expressions, variables ---
1 Functions, logic, conditionals "Rock-Paper-Scissors-Lizard-Spock" game
2 Event-driven programming, local and global variables, buttons and input fields "Guess the Number" game
3 The canvas, static drawing, timers, interactive drawing Stopwatch: The Game
4 Lists, keyboard input, motion, positional/velocity control "Pong" game
5 Mouse input, more lists, dictionaries, images "Memory" game
6 Classes, tiled images "Blackjack" game
7 Acceleration and friction, spaceship class, sprite class, sound Spaceship from "RiceRocks" game
8 Sets, groups of sprites, collisions, sprite animation Full "RiceRocks" game