AI in Game Development: Creating Realistic and Immersive Vir