The prototype of a cross-platform game engine