set up game engine