
Invent your Own Computer Games with Python
Al Sweigart · 2009
Programming and computer science › Python
#1,159 most recommended
Hacker News
43
mentions by 37 people · top 8% of 15,732 books
Open Library
2.00★★★★★★★★★★
1 rating · 13 want to read
Wikipedia
—
No article yet
About the book
A beginner's introduction to programming in Python, organized as a series of chapters that each present the complete source code for a small game, such as Hangman, Tic Tac Toe, Reversi, a Caesar cipher, Guess the Number, and Dragon Realm. Later chapters move to two-dimensional graphics and animation with the Pygame library. It is written for readers as young as 10 to 12 and for anyone who has never programmed, and it is distributed free under a Creative Commons license. Learning to program works best when a reader types in and runs a complete, working program, then studies how it works and changes it. Games give the concepts a concrete purpose, so loops, variables, input and output, flow control, lists, dictionaries, and tuples are introduced through the code of each game rather than as abstract syntax. The book also holds that debugging and simple game-playing AI opponents are approachable topics for a first-time programmer, and that graphics and animation can follow once the basics are in place.
Written by Claude from what it knows of this book.
What Hacker News says 97% recommend · 0% critical
In the commenters’ own words
My kid is 13. He didn't ask to learn, I suggested it as a possible activity. I stressed that he doesn't have to want to. We'll know whether he's trying to…
I would be wary of focusing on length, since longer books have useful end of chapter exercises and more explanatory text rather than (possibly dead) links…
What Open Library readers say 2.00 from 1 rating
- 50
- 40
- 30
- 21
- 10
- 13 want to read
- 1 reading
- 1 have read
Only 1 rating: treat the average as a hint.
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
- Ask HN: Books that teach programming by building a series of small projects?
- Ask HN: What are the best short tech/engineering books you have read?
- Ask HN: Best book on modern cryptography?
- Ask HN: Best Intro Programming Book?
- Ask HN: Best intro to programming book for 2nd graders?
- Ask HN: What subject are you learning via MOOCs, books, etc.?
Details
- First published
- 2009
- ISBN
- 9780982106013
- Editions known
- 10 at Open Library
- Open Library
- OL17192139W
Computer gamesComputer games, programmingProgrammingPython (Computer program language)Python (programspråk)Spelprogrammering
Read next: its neighbours on the mosaic
BASIC Computer GamesDavid H. Ahl · 1973 · recommended by 18 people · named together in 2 comments
Automate the Boring Stuff with PythonAl Sweigart · 2015 · recommended by 75 people · 3 people recommended both
Hacking Secret Ciphers with PythonAl Sweigart · 2013 · recommended by 2 people · named together in 2 comments
Super Scratch Programming Adventure! (Covers Version 2)The LEAD Project · 2013 · recommended by 6 people · similar by subject and what people say about it
Challenges for game designersBrenda Brathwaite · 2009 · recommended by 5 people · similar by subject and what people say about it
Think StatsAllen B. Downey · 2011 · recommended by 27 people · 2 people recommended both
MindstormsSeymour Papert · 1980 · recommended by 89 people · similar by subject and what people say about it
Think PythonAllen B. Downey · 2009 · recommended by 15 people · similar by subject and what people say about it
Python for KidsJason R. Briggs · 2012 · recommended by 12 people · similar by subject and what people say about it
How to think like a computer scientistAllen B. Downey · 2009 · recommended by 16 people · similar by subject and what people say about it
Hello World!Warren Sande · 2014 · recommended by 3 people · similar by subject and what people say about it
Getting started with Raspberry PiRichardson, Matt (Technologist) · 2014 · recommended by 2 people · similar by subject and what people say about it
Teach Your Kids to CodeBryson Payne · 2015 · recommended by 1 person · similar by subject and what people say about it
3D Game Programming for KidsChris Strom · 2013 · recommended by 1 person · similar by subject and what people say about it
Coding for Kids - PythonSusan Randol · 2019 · recommended by 1 person · similar by subject and what people say about it
Scratch Programming PlaygroundAl Sweigart · 2016 · recommended by 2 people · similar by subject and what people say about it
Python web development with DjangoJeff Forcier · 2009 · recommended by 1 person · loosely similar by subject
Game programming for teensManeesh Sethi · 2003 · recommended by 3 people · similar by subject and what people say about it
Computational Fairy TalesJeremy Kubica · 2012 · recommended by 4 people · similar by subject and what people say about it
Hello RubyLinda Liukas · 2015 · recommended by 14 people · similar by subject and what people say about it
Lauren IpsumCarlos Bueno · 2014 · recommended by 16 people · similar by subject and what people say about it
Think BayesAllen B. Downey · 2013 · recommended by 37 people · 2 people recommended both
Realm of RacketForrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it
Learn to program with MinecraftRichardson, Craig (Software developer) · 2016 · recommended by 0 people · similar by subject and what people say about it