Invent Your Own Computer Games with Python, 4th Edition


Price: $29.99 - $18.99
(as of Jun 12, 2024 04:52:58 UTC – Details)



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.

From the Publisher

Copy of Invent Your Own Computer Games with Python, 4E on black background with No Starch Press logoCopy of Invent Your Own Computer Games with Python, 4E on black background with No Starch Press logo

Spread of Invent Your Own Computer Games with Python, 4E on yellow backgroundSpread of Invent Your Own Computer Games with Python, 4E on yellow background

Copies of Invent Your Own Computer Games with Python, 4E on black backgroundCopies of Invent Your Own Computer Games with Python, 4E on black background

Spread of Invent Your Own Computer Games with Python, 4E on yellow backgroundSpread of Invent Your Own Computer Games with Python, 4E on yellow background

‘Ultimate How-to-Learn Python Book’

“…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

‘A Hit’

“Games are a great way to engage kids, and Python is a perfect language for them to see immediate results on the screen as they code. Invent Your Own Computer Games with Python should be a hit.”

—GeekDad

‘Excellent’

“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

About the Author

Al Sweigart is a software developer and tech book author living in Seattle. Python is his favorite programming language, and he is the developer of several open source modules for it. His other books are freely available under a Creative Commons license on his website. His cat Zophie weighs 11 pounds.

No Starch Press logo. A black circle with a white iron with a star in the centerNo Starch Press logo. A black circle with a white iron with 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.

Publisher ‏ : ‎ No Starch Press; 4th edition (December 16, 2016)
Language ‏ : ‎ English
Paperback ‏ : ‎ 376 pages
ISBN-10 ‏ : ‎ 1593277954
ISBN-13 ‏ : ‎ 978-1593277956
Reading age ‏ : ‎ 9 years and up
Lexile measure ‏ : ‎ 1030L
Item Weight ‏ : ‎ 2.31 pounds
Dimensions ‏ : ‎ 7.06 x 0.8 x 9.2 inches

Leave a Reply