Make games with graphics!
Making Games with Python & Pygame covers the Pygame library with the source code for 11 games. Making Games was written as a sequel for the same age range as Invent with Python. Once you have an understanding of the basics of Python programming, you can now expand your abilities using the Pygame library to make games with graphics, animation, and sound.
The book features the source code to 11 games. The games are clones of classics such as Nibbles, Tetris, Simon, Bejeweled, Othello, Connect Four, Flood It, and others.
The book and the programs are open source, and are available under a Creative Commons Attribution-Noncommercial-Share Alike license, meaning they are free to copy and distribute. See the license for full details. A print copy can be bought on Amazon.com for $25.
Python Books I Recommend (if you don't mind paying)
These books take a more conventional approach to covering programming concepts. They don't focus on having complete source code for small projects or games, but they do explain programming concepts fairly well.
|"Python for Kids" is a new book from No Starch Press specifically aimed at a young reader.||"Programming the Raspberry Pi: Getting Started with Python" is a great book to learn Python if you have purchased a Raspberry Pi.|
|"Super Scratch Programming Adventure!: Learn to Program By Making Cool Games" is a great book for younger kids (8 to teens) to learn MIT's graphical Scratch programming environment to quickly make games.||"Python Programming for the Absolute Beginner, 3rd Edition" is a great book to learn Python if you have never programmed before.|
|"The Quick Python Book, 2nd Edition" is a great book if you are already a programmer and want to learn Python, or just want to quickly get up to speed with various programming concepts.||"Programming Video Games for the Evil Genius" teaches the Java programming language, but takes a similar approach to "Invent with Python" by having the source code to various games.|
|"Hello World! Computer Programming for Kids and Other Beginners" covers the basic concepts like "Absolute Beginner" and "Quick Python" do, but is more purposefully aimed at younger readers.||"Violent Python: A Cookbook for Hackers, Forensic Analysts, Penetration Testers and Security Engineers" is devoted to using Python for modern computer security.|
You can email the author at [email protected]. Feel free to send your programming questions or comments.