Packt Publishing – Learn Python Programming with Games
English | Size: 749.63 MB
Python is a powerful high-level, object-oriented programming language. This is a comprehensive guide on how to get started in Python and how you could learn it with the help of games.
In the first section, we will be building our first game. We will use pure Python programming in combination with the built-in Python Turtle module. We will learn how to move our runner around a game screen which we’ll create. In section two, we will enhance what we have learned in section one by combining the power of Turtle Graphics with the tkinter framework. We will add scoring to our game, create obstacles and increase the speed of the game.
In section three, we will install and use the PyGame module. PyGame is used to build professional games but we can start quite simple. We will be building a game with a player that runs and jumps within landscapes. We will learn how to use PyGame sprites and sprite sheets to animate our game. In the fourth section, we will use the PyGame module to build a three-dimensional game. We will build a starship and learn how to navigate it in space. We will explore several features of PyGame to avoid collisions with asteroids and destroy them.
By the end of this video course, you’ll gain a solid understanding of Python along with a hands-on experience in building amazing games. So let’s Rock & Roll!
The codes of this course are uploaded on GitHub: github.com/PacktPublishing/-Learn-Python-Programming-with-Games
Style and Approach
Using a simple approach of learning how to efficiently program in Python with the help of interesting games.
Table of Contents
PYTHON TURTLE – RUNNING GAME
TURTLE AND TKINTER – DRIVING GAME
PYGAME – PLAYER IN LANDSCAPE GAME
PYGAME – STARSHIPS AND ASTEROIDS GAME
What You Will Learn
Understand the simplicity of Python code.
Avoid common programming pitfalls.
Explore the object-oriented concepts through games.
Use PyOpenGL to further enhance your Python codes.
Build two and three dimensional games effortlessly.
Perceive Python programming by developing different games
Burkhard Meier is a professional software test automation designer, developer, and analyst. He has more than 17 years’ professional experience working for several software companies in California, USA.
He is the author of Python GUI Programming Cookbook, First and Second Edition. This book is also available as a Packt video course.
He is also the author of the Python Projects Packt video course.
In his professional career, he developed advanced in-house testing frameworks written in Python 3. He also developed advanced test automation GUIs in Python, which highly increased the productivity of the software development testing team.
When not dreaming in Python code, he reads programming books about design, likes to go for long walks, and reads classical poetry.