created frame for game