Cross platform game engine