← Back to discovery

Invent your Own Computer Games with Python

Al Sweigart

2009332 pagesabout 5–8 hours
2009
first published
  • 2009CreateSpace Independent Publishing Platform · 332 pages · ENGISBN 9781441413031
  • 2010Albert Sweigart · 438 pages · ENGISBN 9780982106013
  • 2015CreateSpace Independent Publishing Platform · 368 pages · ENGISBN 9781503212305
  • 2017No Starch Press, Incorporated · ENGISBN 9781593278120
  • 2016No Starch Press · 376 pages · ENGISBN 9781593277956

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]: http://www.amazon.com/Invent-Computer-Games-Python-Edition/dp/1503212300

Content notesnot yet assessed

Quotesnone available

How do you feel?