Invent Your Own Computer Games with Python, 4th Edition

By Al Sweigart | Publisher: No Starch Press

About the book

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.

Editions of Invent Your Own Computer Games with Python, 4th Edition

Paperback
ISBN 9781593277956
EBook
ISBN 9781593278113

Read an Excerpt

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.

Frequently Asked Questions

What is Invent Your Own Computer Games with Python, 4th Edition about?

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.

What core themes, tropes, or subjects are explored in Invent Your Own Computer Games with Python, 4th Edition?

Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general

Where can I read a sample of Invent Your Own Computer Games with Python, 4th Edition?

You can read an official preview of the few pages here https://www.book2look.com/book/9781593277956

Who is/are the Author/s of the book Invent Your Own Computer Games with Python, 4th Edition?

Al Sweigart

Who is the Publisher of the book Invent Your Own Computer Games with Python, 4th Edition?

No Starch Press

What are the ISBN numbers for the physical and digital editions?

Invent Your Own Computer Games with Python, 4th Edition is available as paperback(ISBN 9781593277956) and ebook(ISBN 9781593278113)

Where can I buy Invent Your Own Computer Games with Python, 4th Edition online or support local independent bookshops?

You can buy Invent Your Own Computer Games with Python, 4th Edition from below

Where can I buy Invent Your Own Computer Games with Python, 4th Edition?