Invent Your Own Computer Games with Python, 4E, Sweigart, Al

Invent Your Own Computer Games with Python, 4E

Authors: Sweigart, Al
Lexile: 1030
Publisher: No Starch Press
BISAC/Subject: COM051360, GAM013000, COM012040
ISBN: 9781593278113
Classification: Non-Fiction
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.

LightSail includes up to 6,000 high interest, Lexile aligned book titles with every student subscription. Other titles are available for individual purchase.

Watch the power of

Lightsail in action

×

SUPPORT GROWING READERS

Immediately Engage Students
Immediately Engage Students
Simple intuitive design has classrooms reading within minutes.
Exponentially Grow Reading Time
Exponentially Grow Reading Time
Students love the LightSail experience and naturally spend more time reading.
Accelerate Literacy Development
Accelerate Literacy Development
Students reading 25 minutes a day on LightSail are seeing 2+ years of Lexile growth in a single year.

LightSail Education is a comprehensive Lexile and standards-aligned, literacy platform and digital e-book library. Including multimodal learning functionality and featuring books from leading publishers, LightSail holistically assesses and nurtures each student on their reading and writing-to-learn journey, throughout elementary, middle, and high school.

LightSail Blog
Quick & Easy LightSail Tips to Help Prepare Students for Spring Testing
Quick & Easy LightSail Tips to Help Prepare Students for Spring Testing
Believe it or not, test prep season is upon us. With just a few adjustments to your normal LightSail reading block, you can use our platform to help students prepare… Read more
From Powwows to Potlatches: Creating a Native American Themed Unit in Rosen-LightSail
From Powwows to Potlatches: Creating a Native American Themed Unit in Rosen-LightSail
November was Native American Heritage Month. Did you know that more than five million people of Native American decent currently live in the United States? The U.S. is home to… Read more
Celebrating Hispanic Heritage & Culture
Celebrating Hispanic Heritage & Culture
At Rosen-LightSail, we are committed to celebrating diversity everyday. From September 15th – October 15th, we specifically celebrate National Hispanic Heritage Month by recognizing the contributions of Hispanic and Latinx… Read more

*LightSail offers a 2,000 or a 6,000 title bundle with its student subscriptions. Other titles are available for individual purchase.