Invent Your Own Computer Games with Python - By Albert Sweigart

(Working title)


IYOCGwP Forum is now working. Leave comments/advice/criticism there!

General Status

Guiding Principles

Summary

(You can leave comments on the blog page for this book.)

I am putting together a book focused on teaching programming to children (around the age of 9 or 10, the same age I was when I started to program in BASIC). My own experience was finding Fred Dignazio's 1983 book, "Invent Your Own Computer Games". It gave my Nintendo-obsessed mind a very nice primer on programming in BASIC. I liked the format (each chapter gave the source code for a new game, and then explained the code afterwards) but found the content lacking (it did not go into action games with a program loop, or graphics and sound).

After looking on the web, I was dismayed by the lack of content in this area that was freely available. All the books and websites were either 1) teaching some made-for-kids programming language instead of a real language or 2) were boring adult programming books with kiddie cartoons added in.

I think the Hackety Hack project is in the proper spirit, and their manifesto embodies a lot of the ideas that I espouse. The Salon article, Why Johnny Can't Code touches on this as well.

My book will serve as the book I wish I had when I was young. It will cover game programming, teach by example, and use a real programming language (in this case, Python). The working title is "Invent Your Own Computer Games with Python" until I come up with something better.
I have a few of the chapters complete, and will be publishing more as they come about. The final book will be published as a PDF (as will the individual chapters when I get around to doing so).

I welcome any comments or criticisms.

IYOCGwP Forum is now working. Leave comments/advice/criticism there!

Current estimated page count:
Cover1
Table of Contents1+
Copyright info1
Dedication, note to readers and programmers, etc..0+
Introduction8
Hello World22
Guess the Number25
Jokes7
Dragon World25
Hangman56
Tic Tac Toe32
Bagels8
Sonar12+
Othello21+
Secret Code4+
Lights Out13+
Glossary0+
Total229+

Creative Commons License
"Invent Your Own Computer Games with Python" is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

You are free:
to Share - to copy, distribute, display, and perform the work
to Remix - to make derivative works

Under the following conditions:
Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
(Visibly include the title and author's name in any excerpts of this work.)
Noncommercial - You may not use this work for commercial purposes.
Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.