Multi-platform game engine