An object-oriented cross-platform game engine for any genre