Invent Your Own Computer Games with Python

Covers Python 3.X

Specificaties
Paperback, 376 blz. | Engels
No Starch Press | 4e druk, 2017
ISBN13: 9781593277956
Rubricering
Hoofdrubriek : Computer en informatica
Juridisch :
No Starch Press 4e druk, 2017 9781593277956
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

'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.

Specificaties

ISBN13:9781593277956
Taal:Engels
Bindwijze:paperback
Aantal pagina's:376
Druk:4
Hoofdrubriek:IT-management / ICT

Over Al Sweigart

Al Sweigart is a software developer who teaches programming to kids and adults. He has written several best-selling Python books for beginners, including Automate the Boring Stuff with Python, also from No Starch Press.

Andere boeken door Al Sweigart

Inhoudsopgave

Introduction

1. The Interactive Shell
2. Writing Programs
3. Guess the Number
4. A joke-Telling Program
5. Dragon Realm
6. Using the Debugger
7. Designing Hangman with Flowcharts
8. Writing the Hangman Code
9. Extending Hangman
10. Tix-Tac-Toe
11. The Bagels Deduction Game
12. The Cartesian Coordinate System
13. Sonar Treasure Hunt
14. Caesar Cipher
15. The Reversegam Game
16. Reversegam Al Simulation
17. Creating Graphics
18. Animating Graphics
19. Collision Detection
20. Using Sounds and Images
21. A Dodger Game with Sounds and Images

Index

Net verschenen

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Invent Your Own Computer Games with Python