The procedural content generation (PCG) is a new way to create dynamic and evolving video game experiences. By leveraging algorithms to generate game content on the fly, developers can create vast, engaging worlds that offer players a sense of discovery and novelty with each playthrough. However, the optimization challenges and considerations for PCG systems vary significantly between two-dimensional (2D) and three-dimensional (3D) game environments, each presenting unique complexities and technical hurdles.