Small game making in C++