
Invent your Own Computer Games with Python
by Al Sweigart
First published 2009 · 372 pages
About this book
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 http://inventwithpython.com "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)
Books like Invent your Own Computer Games with Python
More by Al Sweigart
- Automate the Boring Stuff with Python
Automate the Boring Stuff with Python2015 - Cracking Codes with Python
Cracking Codes with Python2018 - Scratch Programming Playground
Scratch Programming Playground2016 - Recursive Book of RecursionRecursive Book of Recursion2022
- Making Games with Python & PyGame
Making Games with Python & PyGame2012 - Hacking Secret Ciphers with Python: A beginner's guide to cr
Hacking Secret Ciphers with Python: A beginner's guide to cryptography and computer programming with Python2013 - Coding with Minecraft
Coding with Minecraft2018 - The Big Book of Small Python Projects
The Big Book of Small Python Projects2021 - Python Beyond the BasicsPython Beyond the Basics2020
- Python programming quickly get started to make the tedious w
Python programming quickly get started to make the tedious work automation2016 - Automate the Boring Stuff with Python WorkbookAutomate the Boring Stuff with Python Workbook2025
- Playing with PythonPlaying with Python2009