Have you ever hurt yourself from your own code?
Not my code, but somewhat related: I almost hurt myself when my friend used a <i>sonic weapon</i> on me in StarCraft.<p>Back in the ancient days, my friends and I would meet every Saturday and go to an Internet cafe for a few hours of playing multiplayer games over LAN. Mostly StarCraft: Brood War, with a mix of Unreal Tournament and Quake 3 Arena. During the week, we&#x27;d all play these games alone, in single player, figuring out new tricks to unleash on each other the next time we met.<p>One of these weeks, I&#x27;ve learned how to properly play Terrans against the Zerg, and was about to demonstrate my knowledge by steamrolling my friend with an army of Marines and Medics[0]. In that game, my friend went for his usual tactic of harassing me with Mutalisks[1] - an effective technique, as long as he avoided the main body of my army. Well, on that day, he wasn&#x27;t careful enough.<p>At one point, he accidentally flew his entire (by that time pretty big, I think 24+) swarm of Mutalisks straight into my M&amp;M army, which was just staging to launch an attack. My units took about 5 whole seconds to destroy most of his force - but the overlapping audio of dying Mutalisks pretty much saturated my headphones with high-amplitude noise. This was so unexpected that I wasn&#x27;t able to comprehend what&#x27;s going on around me (both in-game and in real life) for good 30 seconds, my vision blurred and my head was spinning.<p>Having wasted his entire army, he lost that match. But I keep thinking that this could have been a viable stratagem. If he sacrificed half of his army like this to break my focus, he could&#x27;ve crippled me with the other half. And ever since that day, I kept my headphones at half the volume.<p>--<p>[0] - M&amp;Ms, aka &quot;bio&quot;, was the usual Terran army composition against Zerg players in Brood War. Zerg armies consist mostly of weak but cheap units - compensating individually low DPS and health with quick, mass production. Terran Marines are also cheap and low DPS, but in 2:1 ratio with Medics, they&#x27;re healed faster than Zerg units can kill them, so a big ball of M&amp;Ms is unstoppable to an inexperienced Zerg player.<p>[1] - Weak, cheap, annoyingly fast flying units. Perfect for distraction, but their low DPS makes them completely useless in a straight fight against Terran &quot;bio&quot; army.