Worst code quality: AI devs
Best code quality: Game devs
LOL I just read something yesterday (possibly a tweet by Carmack?) that game devs optimize for public perception of their game and that is it. Certainly not long term maintainability unfortunately!
Worst code quality: AI devs
Best code quality: Game devs