这是在coursera上面的一门学习pyhton的基础课程,由RICE的四位老师主讲。生动有趣,一共是9周的课程,每一周都会有一个小游戏,经历一遍,对编程会产生很大的兴趣。
所有的程序全部在老师开发的在线平台进行测试,并且还有“VIZ mode”,可以通过可视化的模式,理解程序的进程。
This class is nine weeks long. For most weeks, you will watch two sets of videos (part a and part b) and then complete one quiz for each set. These quizzes have a soft deadline of Tuesday/Thursday, respectively, and a hard deadline of Saturday. The main task for each week is to complete a mini-project that is due on Saturday. You will then be asked to assess your peer's mini-projects on the following Sunday-Wednesday.
Week | Topics | Mini-project |
---|---|---|
0 | Expressions, variables and assignments | "We want... a shrubbery!" |
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 |