In this chapter, we will be focusing on fundamental ideas and techniques that will improve your code and improve your game. These ideas come from years of programming as well as years of teaching. If these seem simple and obvious, that is great. However, we chose these topics because they are things that we, the authors, struggled with early on, or that our students struggled with.
Chapter overview
Your objectives
- Learn fundamental code quality techniques
- Learn and understand the uses of the const keyword
- Learn how iteration can improve your game and code design
- Learn when to use scripting in a game