Mastering advanced C# scripting for intricate game logic, AI, and system design