Invent Your Own Computer Games with Python 4TH EDITION
by: Al Sweigart
ISBN-10: 1593277954
ISBN-13: 9781593277956
Edition 版次: 4
Publication Date 出版日期: 2016-12-17
Print Length 页数: 376
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.
Introduction
Chapter 1 – The Interactive Shell
Chapter 2 – Writing Programs
Chapter 3 – Guess the Number
Chapter 4 – A Joke-Telling Program
Chapter 5 – Dragon Realm
Chapter 6 – Using the Debugger
Chapter 7 – Designing Hangman with Flowcharts
Chapter 8 – Writing the Hangman Code
Chapter 9 – Extending Hangman
Chapter 10 – Tic-Tac-Toe
Chapter 11 – The Bagels Deduction Game
Chapter 12 – The Cartesian Coordinate System
Chapter 13 – Sonar Treasure Hunt
Chapter 14 – Caesar Cipher
Chapter 15 – The Reversegam Game
Chapter 16 – Reversegam AI Simulation
Chapter 17 – Creating Graphics
Chapter 18 – Animating Graphics
Chapter 19 – Collision Detection
Chapter 20 – Using Sounds And Images
Chapter 21 – A Dodger Game with Sounds and Images
Invent Your Own Computer Games with Python, 4th Edition
相关推荐
- Data Structures and Algorithms in Python
- Team Intelligence: A New Method Using Swarm Intelligence for Building Successful Teams
- ChatGPT and the Future of AI: The Deep Language Revolution
- Exploring Complex Survey Data Analysis Using R: A Tidy Introduction with {srvyr} and {survey}
- Financial Accounting in SAP S/4HANA Finance Simplified: Questions & Answers, 2nd Edition
- Foundation of Probability Theory