Refactoring A Tower Defense Game In Python // CODE ROAST

ArjanCodes September 3, 2021
Video Thumbnail

About

No channel description available.

Video Description

💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. This video is a refactoring of a Tower Defense Game written in Python. In particular, I cover a few game architecture aspects and apply them to reduce the coupling in the example code. The code I worked on in this example is available here: https://github.com/ArjanCodes/2021-coderoast-towerdefense. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:47 Overview of the original code 3:39 Code analysis 7:38 A few quick minor fixes 14:34 About game engines 16:22 Creating a simple game engine 23:46 Game object structure 27:12 Creating the Tower Defense game subclass 31:28 Communication between game objects 35:57 Final thoughts #arjancodes #softwaredesign #python