迷宫
1. // This SoundPlayer plays a sound whenever the player hits a wall. System.Media.SoundPlayer startSoundPlayer =new System.Media.SoundPlayer (@"C:\Windows\Media\chord.wav");
// This SoundPlayer plays a sound when the player finishes the game. System.Media.SoundPlayer finishSoundPlayer =new System.Media.SoundPlayer(@"C:\Windows\Media\tada.wav");