Cover of Invent your Own Computer Games with Python

Invent your Own Computer Games with Python

by Al Sweigart · first published 2009

43mentions
36recommended by
37HN commenters
2009–2024first – last mentioned

97% recommend3% neutral

Why HN recommends it

Free, beginner-friendly Python introduction built around writing simple games step by step; suits kids, new programmers, and parents teaching a child to code.

Summarised by Claude from recommending comments

Invent Your Own Computer Games with Python teaches you how to program in the Python. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. The programs covered include Hangman, Tic Tac Toe, Reversi, Caesar Cipher, Guess the Number, and Dragon Realm. Later chapters cover how to make 2D graphical games using the popular Pygame library. You'll learn how to: * Put together loops, variables, input/output, and flow control statements into working programs * Use data structures such as lists, dictionaries, and tuples * Debug progra

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

90 2007: 0 mentions2008: 0 mentions2009: 1 mention2010: 9 mentions2011: 5 mentions2012: 2 mentions2013: 4 mentions2014: 2 mentions2015: 2 mentions2016: 5 mentions2017: 1 mention2018: 1 mention2019: 1 mention2020: 1 mention2021: 0 mentions2022: 1 mention2023: 4 mentions2024: 1 mention2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help