Simple platform game example in C++ with SDL