Boilerplate Code for Game Programming (C++)