A new book from geek book publisher No Starch Press and the best-selling author of “Automate the Boring Stuff with Python” (over 70,000 copies sold) promises to teach aspiring coders of any age how to create simple computer games with the Python programming language.
Like author Al Sweigart’s “Automate the Boring Stuff with Python,” “Invent Your Own Computer Games with Python” ($29.95, 376 pagges) features plain-English explanations of programming concepts coupled with a wide range of real programming projects. Each chapter introduces the reader to a new game, like Hangman, Tic-Tac-Toe, or Reversi, and dissects the game’s code line by line, explaining how things work along the way. Instead of just reading about programming concepts in the abstract, readers get clear examples of how they work, and they’ll put their newfound knowledge to the test by making fun programs.
Having a project in mind and building it step-by-step is a great way to get into programming. Whether you’re a kid or an adult, games are fun to make, and Python makes it easier to learn how to program than ever before. Once readers have worked through the game projects in this book, they’ll have the skills to get started on their own game ideas. “Invent Your Own Computer Games with Python” (http://tinyurl.com/jl9wvnx)will teach readers how to:
° Use variables, loops, user input, functions, and flow control statements;
° Choose the right data structures, such as lists, dictionaries, and tuples;
° Debug their programs and find common errors;
° Apply Cartesian coordinates, negative numbers, and other math concepts to programming games.
After working their way through this collection of real, achievable projects, readers will have a solid foundation in Python and confidence in their newfound programming skills.