Posted this because I remember seeing it a few years back and was like 'woah, thsi is bad.'
What would a metric such as "clean code score" help with any of this?
The repo says this code is only for educational purposes. This spaghetti can be still a good example for the reasons you mentioned. Or maybe it is a good example for an ugly prototype version of an game.
This could be even better if people could see a refactored version of this codebase.
Source: 12 years in gamedev ;P
- Former game developer
Yes I know this sounds bad - but that's how the games industry works. And is one of the reasons I left.
Note that if you are working in engine code, then you want all the automated tests, proper architecture, etc.