Back to SchoolCollegeGroceryClothing, Shoes & AccessoriesHomeOutdoor Living & GardenFurnitureKitchen & DiningElectronicsVideo GamesToysSports & OutdoorsMovies, Music & BooksBabyHousehold EssentialsBeautyUlta Beauty at TargetPersonal CareHealthPetsSchool & Office SuppliesArts, Crafts & SewingParty SuppliesLuggageGift IdeasGift CardsCharacter ShopBullseye’s PlaygroundTarget OpticalClearanceTarget New Arrivals Target Finds #TargetStylePrideLGBTQIA+ ShopBlack Beyond MeasureMás QueWomen-Owned Brands at TargetAsian-Owned Brands at Target Top DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores


Invent Your Own Computer Games with Python, 4th Edition - by Al Sweigart (Paperback)

Invent Your Own Computer Games with Python, 4th Edition - by  Al Sweigart (Paperback) - image 1 of 1
Invent Your Own Computer Games with Python, 4th Edition - by  Al Sweigart (Paperback) - image 1 of 1
$18.99 sale price when purchased online
$29.99 list price

About this item


  • 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!
  • 10 Years
  • 9.1" x 6.9" Paperback
  • 376 Pages
  • Games, Video & Electronic


About the Book

"Teaches you how to make your own versions of classic computer games"--

Book Synopsis

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.

Review Quotes

"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."

"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."

"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.
Dimensions (Overall): 9.1 Inches (H) x 6.9 Inches (W) x .7 Inches (D)
Weight: 1.6 Pounds
Suggested Age: 10 Years
Number of Pages: 376
Genre: Games
Sub-Genre: Video & Electronic
Publisher: No Starch Press
Format: Paperback
Author: Al Sweigart
Language: English
Street Date: December 16, 2016
TCIN: 51835691
UPC: 9781593277956
Item Number (DPCI): 248-35-2036
Origin: Made in the USA or Imported
If the item details above aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 0.7 inches length x 6.9 inches width x 9.1 inches height
Estimated ship weight: 1.6 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: United States Minor Outlying Islands, American Samoa (see also separate entry under AS), Puerto Rico (see also separate entry under PR), Northern Mariana Islands, Virgin Islands, U.S., APO/FPO, Guam (see also separate entry under GU)

Return details

This item can be returned to any Target store or
This item must be returned within 90 days of the date it was purchased in store, shipped, delivered by a Shipt shopper, or made ready for pickup.
See the return policy for complete information.
5.0 out of 5 stars with 1 reviews
100% would recommend
1 recommendations

Deserve to read

5 out of 5 stars
Thumbs up graphic, would recommend
Jeff - 2 years ago, Verified purchaser
Good book to read for python. Lots of examples
Did you find this review helpful?

Get top deals, latest trends, and more.

Privacy policy


About Us

About TargetCareersNews & BlogTarget BrandsBullseye ShopSustainability & GovernancePress CenterAdvertise with UsInvestorsAffiliates & PartnersSuppliersTargetPlus


Target HelpReturnsTrack OrdersRecallsContact UsFeedbackAccessibilitySecurity & FraudTeam Member Services


Find a StoreClinicPharmacyOpticalMore In-Store Services


Target Circle™Target Circle™ CardTarget Circle 360™Target AppRegistrySame Day DeliveryOrder PickupDrive UpFree 2-Day ShippingShipping & DeliveryMore Services
PinterestFacebookInstagramXYoutubeTiktokTermsCA Supply ChainPrivacyCA Privacy RightsYour Privacy ChoicesInterest Based AdsHealth Privacy Policy