My attempt to write a game framework in c++