added game engine code