Buy Used
+ £2.80 UK delivery
Used: Good | Details
Condition: Used: Good
Comment: Item is in good condition. Books may have some underlines and highlights. Textbooks may not include supplements such as CD, access code, etc. We process and dispacth fast. Your satisfaction is guaranteed.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

INVENT YOUR OWN COMPUTER GAMES WITH PYTHON, 2ND EDITION BY Sweigart, Al( Author)Paperback on May-01-2010 Paperback – 1 May 2010

See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback, 1 May 2010
£28.79 £28.49

Product details

  • Paperback
  • Publisher: Albert\Sweigart; 2 edition (1 May 2010)
  • Language: English
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (12 customer reviews)
  • Amazon Bestsellers Rank: 3,098,563 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

Invent Your Own Computer "Invent Your Own Computer Games with Python" teaches you computer programming in the Python programming language. Each chapter gives you the complete source code for a new game and teaches the programming concepts from these examples. The book is available under a Creative Commons license and can be downloaded in full for free from http: //inventwithpython "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. This second edition has revised and expanded content, including using the Pygame library to make games with graphics, animation, and ...

Inside This Book (Learn More)
Browse and search another edition of this book.
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.3 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

31 of 31 people found the following review helpful By Nick Craig-Wood on 12 Oct. 2010
Format: Paperback Verified Purchase
I bought this book to see if I could interest my children in programming.

I'm a professional programmer and I use Python extensively in my work, so I read the book first to see if it was up to the job.

The first thing that was obvious was that this book uses Python3. The python eco-system is very gradually migrating from Python2. On reflection I think this was an excellent choice and will stop the book aging.

This book very deliberately doesn't attempt to teach the whole of Python, it sticks to an easy to comprehend subset. It doesn't attempt object oriented programming and doesn't introduce any datatypes except for lists and dictionaries.

The author uses excellent programming style given those limitations, and doesn't abuse global variables. A slight nit-pick is the use of thisKindOfVariable which isn't the python standard which is this_kind_of_variable.

The author encourages the student to type in the programs listed, but to use the website to check that they have been typed in correctly. Typing the programs in is an excellent way of really learning the language, and hopefully the website will stop the frustration of the program not working. It remains to be seen how well this works in practice with my children though!

This book reminded me very much of the book that I learnt to program with, which was the BASIC manual which came with the Sinclar ZX80, and I think the author has done a really good job of attempting to produce a modern version. The author has thought carefully about exactly what to introduce and what not to introduce and to try hard not to over-complicate things.

I'm looking forward to trying this book out with my children.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
13 of 13 people found the following review helpful By J. Hartley on 16 May 2010
Format: Paperback
This book is totally appropriate for someone who has never programmed before. Everything is explained, right from the ground up, in a lively, interesting style which doesn't dumb things down.

In terms of the language Python, not all aspects of the language are described - only the parts that are absolutely necessary to know to create games. A reader who wants to learn more about programming should definitely start off with this book first, and then supplementing that with other books specifically about Python (or other programming ideas) if they find they have an interest in that direction.

Topics covered
The first ten chapters do a brilliant job of leading the reader through the creation of many small games in the text console, which cumulatively cover all the basics of programming: variables, datatypes, expressions, strings and their methods, booleans and if statements, loops, functions, variable scope, lists, dictionaries, string formatting, ASCII. You will use these to create text games such as hangman and choose your own adventure.

Chapter 11 explains Cartesian co-ordinates and some arithmetic that will be used later on.

Chapter 12 to 15 then create one new game per chapter, using the techniques learned so far, adding a great description of how to create simple but effective artificial intelligence.

Chapters 16 to 18 then break out of the text console, using the pygame library to display a window with coloured rectangles, polygons, circles and bitmaps. It then covers methods of animating these images, reading the keyboard, basic 2D collision detection, reading the mouse, bitmaps and scaled sprites, and creating music.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
12 of 12 people found the following review helpful By @teknoteacher on 17 Aug. 2011
Format: Paperback
If you are interested in learning how to program in code or you are new to Python this book is perfect for you. The book is so appealing and flexible in approach that makes it a winner. It is written in a friendly style that you feel as though the author is speaking to you.

I think it is fantastic that there are so many additional resources to accompany the book available through the book's website, the author really does seem to have thought of everything.

Straight away the first chapter gets you programming with having to know all about programming concepts. Each chapter presents you with a programming task to write in Python where the code has already been written, then explains how and why it is written. Each chapter is the right length to practice each new stage. At the start of each chapter it explains what the principles of the chapter are and then there is a summary at the end of each chapter.

Also, the Python programming language is a free download that works on pretty much any computer.

I am a teacher at a high school in the U.K. I teach children ICT and Computing to children from age 11 years to 16 years. We have only recently tuned into the concept of computer programming for everybody. We have been teaching Scratch for about 4 years now, but I really wanted something that was more like console programming and have looked at a few different programming languages. That was until I discovered Python - and then this book. Highly recommended.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
6 of 6 people found the following review helpful By JJ on 1 Sept. 2012
Format: Paperback Verified Purchase
I think this is a brilliant book if you want to learn to programme. The are a number of reasons for this

Unlike a lot of books the author does not lose sight of the fact you are a beginner.Some authors
move to quickly or presume to much about the knowledge of the reader.So you end up getting stuck a few chapters in

It is written for python which experts reckon is the best language to understand for a beginner as well as being very powerful

The book is interesting ,it teaches you through games.I find it a lot more intresting if you have projects and games to create

The author is good a teaching and writes in a relaxed,informal manner

The book has a website that has videos,code example and a code breakdown/Tracer(which tells you what each line of code does)
the website is good as helps learn the code in the book through differnt teaching methods
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Look for similar items by category