tubeshowcaseā—1,194,391 videosā™” My collection 0
← Learn to Code

Learn to Code36:49

Refactoring A Tower Defense Game In Python // CODE ROAST

ArjanCodes ↗

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.

Keep exploring Learn to Code