Invent Your Own Computer Games with Python, 4th Edition

Invent Your Own Computer Games with Python, 4th Edition

English | 2017 | ISBN: 978-1-59327-795-6 | 376 Pages | PDF, EPUB, AZW3 | 19 MB

Invent Your Own Computer Games with Python will show you how to make classic computer games in Python, even if you’ve never programmed before.
Each chapter introduces a new game as well as step-by-step explanations of how the code works. As you build games like Reversi, Hangman, Tic-Tac-Toe, Dragon Realm, Guess the Number, Jokes, Dodger, Bagels, and Sonar, you’ll learn how programmers turn their game ideas into reality. You’ll also find chapters on game refinements like collision detection and input, Cartesian coordinates, artificial intelligence simulation, sounds and images, debuggers, and cryptography, to help you take your game programming to the next level.
Learn how to

  • Combine loops, variables, input/output, and flow control statements into real working programs
  • Choose the right data structures such as lists, dictionaries, and tuples
  • Debug your programs and find common errors
  • Program simple artificial intelligence to create smarter adversaries
  • Use graphics and animation with Pygame
  • Convert plain text into secret code using cryptography
  • Translate a location on screen into integers your program can identify with Cartesian coordinates

Once you’ve worked your way through the fun and games, you’ll have a solid foundation in Python, an understanding of computer science fundamentals, and the confidence to advance your new game programming skills.
What new game will you create with the power of Python?
The projects in this book are compatible with Python 3.

Homepage