Baby essentials delivered 
Shop now
Buy New
-32% $27.38
$3.99 delivery Monday, December 14
Ships from: Emeserella
Sold by: Emeserella
$27.38 with 32 percent savings
List Price: $39.99
$3.99 delivery Monday, December 14. Details
Or fastest delivery December 9 - 11. Details
Only 1 left in stock - order soon.
$$27.38 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$27.38
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Shipper / Seller
Returns
Returnable until Jan 31, 2027
Returnable until Jan 31, 2027
For the 2026 holiday season, eligible items purchased between November 1 and December 31, 2026 can be returned until January 31, 2027.
Quick refund
Usually issued within 24 hours. See exceptions
Shipping fee
May apply, not eligible for free return. See details
Convenient dropoff
At any of our 50,000 US locations.
See return policy
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$11.45
Gently read. May have name of previous ownership, or ex-library edition. Binding tight; spine straight and smooth, with no creasing; covers clean and crisp. Minimal signs of handling or shelving. 100% GUARANTEE! Shipped with delivery confirmation, if you're not satisfied with purchase please return item! Ships USPS Media Mail Gently read. May have name of previous ownership, or ex-library edition. Binding tight; spine straight and smooth, with no creasing; covers clean and crisp. Minimal signs of handling or shelving. 100% GUARANTEE! Shipped with delivery confirmation, if you're not satisfied with purchase please return item! Ships USPS Media Mail See less
FREE delivery December 18 - 23. Details
In stock
$$27.38 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$27.38
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by Stellar Book Company.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • Invent Your Own Computer Games with Python, 4th Edition

Follow the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Something went wrong. Please try your request again later.

Invent Your Own Computer Games with Python, 4th Edition

4.7 out of 5 stars (561)

{"desktop_buybox_group_1":[{"displayPrice":"$27.38","priceAmount":27.38,"currencySymbol":"$","integerValue":"27","decimalSeparator":".","fractionalValue":"38","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"5S7P5aW2hJewfWI2pxn3yjP7Pc7sh8K89z7wYYuAdN1aBdxM32xF%2FJzAVrFRZ2VvnDPJHzBluM5WRJbwOL1qWO8fObss50IBb0liZZbn4tD60UmyZsvklutwm2vGn8VIj0xEt3Dz88ekm6IxT3qV2RjWqMuI%2FaNKByeY9aCOdgtokUJ7aepCeBx0IDfK2fjc","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$11.45","priceAmount":11.45,"currencySymbol":"$","integerValue":"11","decimalSeparator":".","fractionalValue":"45","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"5S7P5aW2hJewfWI2pxn3yjP7Pc7sh8K8PTgHodokB%2B1qrZvGP9jxk6OijYhAVLaKSwWc7Mp%2FruascEjA%2FvI6Mx4zWIen%2FRysG2uPrrNEo9Z5CNNbaAl3swB4hDSw0uL3x7b%2Bt7aNNgBVycAuAHswbaBJoFKdNqMwaaEZwmZMbCgpp5IWkn%2B7I2qdqRJ%2BBP7g","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Invent Your Own Computer Games with Python will teach you how to make computer games using the popular Python programming language—even if you’ve never programmed before!

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.
The%20Amazon%20Book%20Review
The Amazon Book Review
Book recommendations, author interviews, editors' picks, and more. Read it now.

Frequently bought together

This item: Invent Your Own Computer Games with Python, 4th Edition
$35.05
Get it as soon as Wednesday, Dec 16
Sold by BY&MN and ships from Amazon Fulfillment.
+
$22.78
Get it as soon as Wednesday, Dec 9
In Stock
Ships from and sold by Amazon.com.
+
$18.92
Get it as soon as Wednesday, Dec 9
In Stock
Ships from and sold by Amazon.com.
Total price:$00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

From the Publisher

Invent Your Own Computer Games with Python, 4E on black background with No Starch Press logo
Review of Invent Your Own Computer Games with Python, 4E on black background
Review of Invent Your Own Computer Games with Python, 4E on black background
A man wearing a driving cap and red plaid shirt. He is seated in a cafe.

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.

No Starch Press logo. A black circle with a white iron and a star in the center.

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

“Pretty close to the ultimate how-to-learn python book. First, it combines an easy ramp up from expecting you to know virtually nothing to having you try out – and understand – Python. Second, it provides the code, the tools, and the explanations required for you build a number of increasingly sophisticated games and the know-how to branch out to creating games completely on your own.”
—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

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.

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: #68,099 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.7 out of 5 stars (561)

About the author

Follow authors for new release and deal updates, plus improved recommendations. See updates from all followed authors in Your Books.
Al Sweigart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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

4.7 out of 5 stars
561 global ratings

Customers say

Customers find this Python programming book excellent for beginners, explaining concepts clearly and thoroughly using simple English. They appreciate its practical approach and engaging content, with one customer noting how the games make it more interesting to progress through the chapters.
AI Generated from the text of customer reviews

Select to learn more

41 customers mention content, 38 positive, 3 negative
Customers find the book excellent for teaching beginners Python, with one customer specifically mentioning its usefulness for game development basics.
Its a good book but with a warning. You learn a lot about logic and how to design your code/app....Read more
This is a great book, especially for beginners. You learn the basics while creating games!...Read more
i finished coding the hangman game , works good. nice beginners book to learn Python.Read more
...is a problem I'm more than willing to overlook, given how otherwise excellent this book is....Read more
13 customers mention engaging, 12 positive, 1 negative
Customers find the book engaging and fun to follow, particularly enjoying the games and using it as a way to learn Python programming.
...The writing in this book is tight, engaging, entertaining, and just seriously impressive, and the projects are super fun too....Read more
Super fun and interactive!Read more
Well chosen material, starting basic and ramping up nicely. Great games. The approach of having students type in the programs is a good idea!...Read more
This book is a fun way to learn Python programming by teaching the language elements by writing games....Read more
9 customers mention clarity, 9 positive, 0 negative
Customers praise the book's clarity, noting that it explains concepts using simple English and provides thorough code descriptions, making it easy to follow.
This is a very readable book. Lots of examples, and step-by-step instructions....Read more
...Teaches many things. Code explanations are thorough, systematic, clear. Definitely recommend this book.Read more
...it is easy to follow and need no time more then 2 or 3 week to finish it, but you feel that you programmed some cool game after that.Read more
...you copy the code for the game and then the author explains step-by-step what the code does. While that is good, it is also incomplete....Read more
6 customers mention practicality, 6 positive, 0 negative
Customers find the book practical, with one mentioning it has removed their programming struggles.
...I'm using it to teach my 13-year-old son coding, and it's perfect for this purpose.Read more
...It is all practical and teaches through writing simple games, which makes it easy to understand....Read more
...This book has really removed my struggles.. In other words I GET IT!!...Read more
...to find something to do while learning Python, this book gives you something to do, kind of fun.Read more
5 customers mention writing quality, 4 positive, 1 negative
Customers appreciate the writing quality of the book.
...The book is well written. My teenage son followed it to learn Python and build a few games in Python....Read more
...The writing in this book is tight, engaging, entertaining, and just seriously impressive, and the projects are super fun too....Read more
Well written book that lets you apply the concepts quickly. It’s.Read more
...Another warning is some of the code is really long, lots of typing....Read more
Sign in to see customer reviews.