Skeleton for C++ games