Shelf

Invent your Own Computer Games with Python

by Al Sweigart

2009 · English

15 readers · 5 editions

Open Library

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 programs and find errors * Program simple game-playing AI opponents * Draw graphics and animation into your games The book is available under a Creative Commons license and can be downloaded in full for free from "Invent with Python" was written to be understandable by kids as young as 10 to 12 years old, although it is great for anyone of any age who has never programmed before. (Source)

TechnologyNonfiction

More by Al Sweigart

Automate the Boring Stuff with PythonAl SweigartCracking Codes with PythonAl SweigartScratch Programming PlaygroundAl SweigartMaking Games with Python & PyGameAl SweigartHacking Secret Ciphers with PythonAl SweigartCoding with MinecraftAl SweigartCoole Spiele mit Scratch 3Al SweigartCoole Spiele mit ScratchAl Sweigart

You might also like

The C Programming LanguageBrian W. KernighanClean CodeRobert C. MartinIntroduction to AlgorithmsThomas H. CormenComputer NetworksAndrew S. TanenbaumSoftware EngineeringRoger S. PressmanHackingJon EricksonStructure and Interpretation of Computer Programs (SICP)Harold AbelsonJavaScriptDavid Flanagan

Editions (5)

YearPublisherFormatISBN
2010Albert Sweigart9780982106013
2009CreateSpace Independent Publishing Platform9781441413031
2015CreateSpace Independent Publishing Platform9781503212305
2016No Starch Press9781593277956
2017No Starch Press, Incorporated9781593278120