Minimal example to build a game in c++