Loading
Cover of Invent Your Own Computer Games with Python 4th Edition

Book guide and evaluation

Invent Your Own Computer Games with Python 4th Edition

Al Sweigart

English Intermediate Programming Languages
5.0 / 5

1 reviews

2017

Published

380

pages

429

views

Invent Your Own Computer Games with Python teaches you how to program in the Python. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. The programs covered include Hangman, Tic Tac Toe, Reversi, Caesar Ciph

Before you read

What will you get from this book?

Invent Your Own Computer Games with Python teaches you how to program in the Python. Each chapter gives you the complete source code for a new game, and then teaches the programming concepts from the example. The programs covered include Hangman, Tic Tac Toe, Reversi, Caesar Cipher, Guess the Number, and Dragon Realm. Later chapters cover how to make 2D graphical games using the popular Pygame library. You'll learn how to: * Put together loops, variables, input/output, and flow control statements into working programs * Use data structures such as lists, dictionaries, and tuples * Debug programs and find errors * Program simple game-playing AI opponents * Draw graphics and animation into your games The book is available under a Creative Commons license and can be downloaded in full for free from http://inventwithpython. com "Invent with Python" was written to be understandable by kids as young as 10 to 12 years old, although it is great for anyone of any age who has never programmed before. [(Source)][1] [1]: http://www. amazon. com/Invent-Computer-Games-Python-Edition/dp/1503212300 xxviii, 344 pages : 24 cm "Teaches you how to make your own versions of classic computer games"-- Includes index The interactive shell -- Writing programs -- Guess the number -- A joke telling program -- Dragon realm -- Using the debugger -- Designing hangman with flowcharts -- Designing Hangman with flowcharts -- Writing the hangman code -- Extending hangman -- Tic-tac- toe -- Bagels deduction game -- Cartesian coordinate system -- Sonar treasure hunt -- Caesar cipher -- Reversegam game -- Reversegam AI simulation -- Creating graphics -- Animating graphics -- Collision detection -- Using Sounds and images -- A Dodger game with sounds and images

Ask this book

Your question is answered in the context of this title and author. Each answer uses 2 points.

Sign in to ask the book assistant.

Reader reviews

1 reviews, 5.0 average out of 5

M Dittrich

2025/06/08

5 / 5

great book on pc game development

Write a review

Sign in to publish a review.

Reader questions and answers

Ask a focused question and learn from the community.

Sign in to ask or answer a question.

No questions yet

Be the first to ask a clear, useful question.