DeepRead
Cover of Invent your Own Computer Games with Python

Invent your Own Computer Games with Python

Al Sweigart · 2009

Programming and computer science › Python

#1,159 most recommended

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

051020092015202020242010 peak · 10
This bookAverage book in Python

In the commenters’ own words

What Open Library readers say 2.00 from 1 rating

  1. 50
  2. 40
  3. 30
  4. 21
  5. 10
  • 13 want to read
  • 1 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

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

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

Explore in the mosaic

Read next: its neighbours on the mosaic

  • BASIC Computer Games
    David H. Ahl · 1973 · recommended by 18 people · named together in 2 comments
  • Automate the Boring Stuff with Python
    Al Sweigart · 2015 · recommended by 75 people · 3 people recommended both
  • Hacking Secret Ciphers with Python
    Al 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 designers
    Brenda Brathwaite · 2009 · recommended by 5 people · similar by subject and what people say about it
  • Think Stats
    Allen B. Downey · 2011 · recommended by 27 people · 2 people recommended both
  • Mindstorms
    Seymour Papert · 1980 · recommended by 89 people · similar by subject and what people say about it
  • Think Python
    Allen B. Downey · 2009 · recommended by 15 people · similar by subject and what people say about it
  • Python for Kids
    Jason R. Briggs · 2012 · recommended by 12 people · similar by subject and what people say about it
  • How to think like a computer scientist
    Allen 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 Pi
    Richardson, Matt (Technologist) · 2014 · recommended by 2 people · similar by subject and what people say about it
  • Teach Your Kids to Code
    Bryson Payne · 2015 · recommended by 1 person · similar by subject and what people say about it
  • 3D Game Programming for Kids
    Chris Strom · 2013 · recommended by 1 person · similar by subject and what people say about it
  • Coding for Kids - Python
    Susan Randol · 2019 · recommended by 1 person · similar by subject and what people say about it
  • Scratch Programming Playground
    Al Sweigart · 2016 · recommended by 2 people · similar by subject and what people say about it
  • Python web development with Django
    Jeff Forcier · 2009 · recommended by 1 person · loosely similar by subject
  • Game programming for teens
    Maneesh Sethi · 2003 · recommended by 3 people · similar by subject and what people say about it
  • Computational Fairy Tales
    Jeremy Kubica · 2012 · recommended by 4 people · similar by subject and what people say about it
  • Hello Ruby
    Linda Liukas · 2015 · recommended by 14 people · similar by subject and what people say about it
  • Lauren Ipsum
    Carlos Bueno · 2014 · recommended by 16 people · similar by subject and what people say about it
  • Think Bayes
    Allen B. Downey · 2013 · recommended by 37 people · 2 people recommended both
  • Realm of Racket
    Forrest Bice · 2013 · recommended by 37 people · similar by subject and what people say about it
  • Learn to program with Minecraft
    Richardson, Craig (Software developer) · 2016 · recommended by 0 people · similar by subject and what people say about it