Update AudioGame.as

In the summer of 2013, I spent many evenings and weekends designing, developing, and testing this "video game for the blind".  I posted it for free on gaming boards for the visually-impaired and received some gratifying responses.  The game uses stereo effects to create a surprisingly realistic, three-dimensional "soundscape".  The player actually uses the mouse to estimate the direction/distance of various objects in the field.  I used publicly-available stock for the real cricket chirps, frog croaks, zombie growls, shotgun blasts, clanking iron gates, and other sounds.  I actually composed my own musical score and audio instructions for it.  While the game play was only entertaining for a few hours at most, I received consistent comments that people were impressed with the soundtrack.  (The game was ultimately just a vehicle for me to showcase my musical compositions.)

I wrote the code in Flash ActionScript, a variation of JavaScript.  At less than 1,000 lines of code, it was small enough to keep in a single disk file and use a single programming class.  The comments are sparse, added only when necessary.  I relied on descriptive variable and function names, and broad functional grouping, to "self-document" as much as possible.  I used extensive constants and variables to make it as flexible as possible in the lengthy process of playability testing.  You can see the fastidious consistency in the indentation, spacing, grouping, and other stylistic aspects, all of which become very important when composing hundreds of lines of code in a text editor, any one of which could break the entire program with a single missing punctuation mark.