Basic game engine finished.