Made game loading code.