implement engine to myGame