07:31Refactoring A Tower Defense Game In Python // CODE ROAST
From the creator
š” 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
Published 2021-09-03 Ā· Watch on YouTube ā
Availability and playback restrictions are controlled by the original channel.





