Buy New
-50%
$19.84$19.84
FREE delivery Monday, July 20 on orders shipped by Amazon over $35
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
$5.01$5.01
$3.99 delivery Thursday, July 23
Ships from: HPB-Red Sold by: HPB-Red
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Invent Your Own Computer Games with Python, 4th Edition
Purchase options and add-ons
Begin by building classic games like Hangman, Guess the Number, and Tic-Tac-Toe, and then work your way up to more advanced games, like a text-based treasure hunting game and an animated collision-dodging game with sound effects. Along the way, you’ll learn key programming and math concepts that will help you take your game programming to the next level.
Learn how to:
–Combine loops, variables, and flow control statements into real working programs
–Choose the right data structures for the job, such as lists, dictionaries, and tuples
–Add graphics and animation to your games with the pygame module
–Handle keyboard and mouse input
–Program simple artificial intelligence so you can play against the computer
–Use cryptography to convert text messages into secret code
–Debug your programs and find common errors
As you work through each game, you’ll build a solid foundation in Python and an understanding of computer science fundamentals.
What new game will you create with the power of Python?
The projects in this book are compatible with Python 3.
- Reading age10 years and up
- Print length376 pages
- LanguageEnglish
- Dimensions7.05 x 0.79 x 9.25 inches
- PublisherNo Starch Press
- Publication dateDecember 16, 2016
- ISBN-101593277954
- ISBN-13978-1593277956
Book recommendations, author interviews, editors' picks, and more. Read it now.
Frequently bought together

Customers who viewed this item also viewed
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackGet it as soon as Friday, Jul 31
- Automate the Boring Stuff with Python, 3rd EditionPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 20
- Python for Kids, 2nd Edition: A Playful Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 20
- Object-Oriented Python: Master OOP by Building Games and GUIsPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 20
- Coding Games in Python (DK Help Your Kids)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 20
- Beyond the Basic Stuff with Python: Best Practices for Writing Clean CodePaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 20
Customers also bought or read
- Object-Oriented Python: Master OOP by Building Games and GUIs
Paperback$17.76$17.76Delivery Mon, Jul 20 - The Big Book of Small Python Projects: 81 Easy Practice Programs
Paperback$32.52$32.52$3.95 delivery Aug 5 - 10 - Impractical Python Projects: Playful Programming Activities to Make You Smarter
Paperback$20.47$20.47Delivery Mon, Jul 20 - Python for Kids, 2nd Edition: A Playful Introduction to Programming
Paperback$21.49$21.49Delivery Mon, Jul 20 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerFunctional Software Programming
Paperback$22.75$22.75Delivery Jul 31 - Aug 6 - Beyond the Basic Stuff with Python: Best Practices for Writing Clean Code
Paperback$24.98$24.98Delivery Mon, Jul 20 - Coding for Kids: Python: Learn to Code with 50 Awesome Games and Activities
Paperback$11.99$11.99Delivery Aug 1 - 6 - Creative Coding in Python: 30+ Programming Projects in Art, Games, and More
Paperback$19.34$19.34Delivery Mon, Jul 20 - Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More
Paperback$31.55$31.55Delivery Jul 31 - Aug 3 - Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!
Paperback$31.50$31.50Delivery Jul 25 - 27 - Learn to Code by Solving Problems: A Python Programming Primer
Paperback$21.18$21.18Delivery Mon, Jul 20 - Think Like a Programmer: An Introduction to Creative Problem Solving
Paperback$22.85$22.85Delivery Mon, Jul 20 - Modeling and Simulation in Python: An Introduction for Scientists and Engineers
Paperback$35.56$35.56FREE delivery Mon, Jul 20 - Beginning Game Development with Python and Pygame: From Novice to Professional (Beginning From Novice to Professional)
Paperback$51.78$51.78FREE delivery Mon, Jul 20 - Cracking Codes with Python: An Introduction to Building and Breaking Ciphers
Paperback$25.64$25.64Delivery Jul 21 - 22 - Dive Into Algorithms: A Pythonic Adventure for the Intrepid Beginner
Paperback$34.09$34.09Delivery Mon, Jul 20 - How Computers Really Work: A Hands-On Guide to the Inner Workings of the Machine
Paperback$35.33$35.33FREE delivery Mon, Jul 20 - Python Cheat Sheet Encyclopedia: The Fastest Way to Learn and Use Python Without Getting Overwhelmed
Paperback$12.99$12.99Delivery Mon, Jul 20 - Learn to Program with Minecraft: Transform Your World with the Power of Python
Paperback$29.34$29.34Delivery Jul 25 - 31 - Godot 4 for Beginners: Develop engaging 2D and 3D games with Godot 4's scripting and design features
Paperback$31.99$31.99Delivery Mon, Jul 20 - Django for Beginners, 5th Edition: Build Modern Web Applications with Python
Paperback$35.79$35.79FREE delivery Mon, Jul 20 - Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples
Paperback$34.52$34.52Delivery Jul 30 - Aug 3
From the Publisher
About the Author
Al Sweigart is a software developer and teaches programming to kids and adults. He has written several Python books, including Automate the Boring Stuff with Python and Making Games with Python & Pygame.
About the Publisher
No Starch Press has published the finest in geek entertainment since 1994, creating both timely and timeless titles like Python Crash Course, Python for Kids, How Linux Works, and Hacking: The Art of Exploitation. An independent, San Francisco-based publishing company, No Starch Press focuses on a curated list of well-crafted books that make a difference. They publish on many topics, including computer programming, cybersecurity, operating systems, and LEGO. The titles have personality, the authors are passionate experts, and all the content goes through extensive editorial and technical reviews. Long known for its fun, fearless approach to technology, No Starch Press has earned wide support from STEM enthusiasts worldwide.
Editorial Reviews
Review
—Computerworld
“Many of the games include flowcharts so the reader will better understand the logic needed to complete the game, and I was especially happy to see a few chapters focus on topics not necessary limited to games such as Cartesian coordinates and using the built-in Debugger.”
—GeekDad
“This is an excellent way to learn Python, if you are a kid or not. Little kids can learn with their adult guide, and older kids will eat this book up in an afternoon or two.”
—Greg Laden, National Geographic's ScienceBlogs
“This book is a great entry point for beginning programmers that 'gamifies' coding, allowing readers to immediately apply the concepts covered, rather than teaching basics with little application.”
—School Library Connection
"If games are your thing, this would be the perfect book to learn Python."
—Rajat, @argent_codes
About the Author
Product details
- Publisher : No Starch Press
- Publication date : December 16, 2016
- Edition : 4th
- Language : English
- Print length : 376 pages
- ISBN-10 : 1593277954
- ISBN-13 : 978-1593277956
- Item Weight : 1.38 pounds
- Reading age : 10 years and up
- Dimensions : 7.05 x 0.79 x 9.25 inches
- Best Sellers Rank: #118,800 in Books (See Top 100 in Books)
- #35 in Game Programming
- #74 in Python Programming
- #102 in Software Development (Books)
- Customer Reviews:
About the author

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.
Customer reviews
- 5 star4 star3 star2 star1 star2 star82%13%5%0%0%0%
- 5 star4 star3 star2 star1 star1 star82%13%5%0%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviews





















