A visual step-by-step guide to writing code in Python.
Beginners and experienced programmers can use Python to build and play computer games, from mind-bending brainteasers to crazy action games with explosive sound effects and 3-D graphics.
Each chapter inCoding Games in Pythonshows how to construct a complete working game in simple numbered steps. The book teaches how to use freely available resources, such as PyGame Zero and Blender, to add animations, music, scrolling backgrounds, 3-D scenery, and other pieces of professional wizardry to games. After building a game, instructions show how to adapt it using secret hacks and cheat codes. Instructions are illustrated with zany Minecraft-style pixel art.
Master the key concepts that programmers need to write code--not just in Python, but in all programming languages. Find out what bugs, loops, flags, strings, tuples, toggles, and turtles are. Learn how to plan and design the ultimate game--and then play it to destruction as you test and debug it.
With coding theory interwoven into the instructions for building each game, learning coding is made effortless and fun.DK was founded in London in 1974 and is now the world leading illustrated reference publisher and a member of the Penguin Random House division of Bertelsmann. DK publishes highly visual, photographic non-fiction for adults and children. DK produces content for consumers in over 100 countries and over 60 languages, with offices in the UK, India, US, Germany, China, Canada, Spain and Australia.
DK's aim is to inspire, educate and entertain readers of all ages, and everything DK publishes, whether print or digital, embodies the unique DK design approach. DK brings unrivalled clarity to a wide range of topics, with a unique combination of words and pictures, put together to spectacular effect. We have a reputation for innovation in design for both print and digital products.