If it is good to read great code, what is some great c++ code I should read worth reading? (c++ & lua)
In other words "What is some good code to read?"
(imagine as if a friend is asking about good books. Eg. reply "The Stranger")
If you want feel free to post the difficulty level of the read (Beginner, Intermediate, Advanced, Expert)
focus-languages: C++, Lua
focus-areas: Game Engines, AI, Gameplay-Programming, editors
(& feel free to include anything worth going out side of the focus areas and languages)
Thanks,
This question was inpired by this tutorial:
http://www.tutorialspoint.com/developers_best_practices/code_reading.htm
===
links to code:
User: Link
WoopsASword: CrytekEngine: https://github.com/CRYTEK-CRYENGINE/CRYENGINE
georger.araujo: Game Coding Complete Code: https://github.com/georgerbr/gamecode4/tree/vs2013
ericrrichards22: idTech source code: https://github.com/id-Software
ericrrichards22: Dinodeck: https://github.com/dinodeck/dinodeck
ericrrichards22: Game Programming AI by example source code: http://www.jblearning.com/Catalog/9781556220784/student/
Honerable mentions (gateway to code, but not a direct link to code specifically)
efolkertsma: "Beautiful Code". https://www.amazon.com/Beautiful-Code-Leading-Programmers-Practice/dp/0596510047
Kolrabi: Fabien Sanglard (not source code, but a as a way source of code reviews and as a gateway to some open source projects.
edit(s):
removed focus on self to better focus on the question about resources.(used strike throughs)
Added links to recomendations.
note: this is just about resource collection to help on one of the many aspects of improvement.