a simple 2d game engine in C++ and SFML