Diablo II (DII) may be an old game but it’s a classic. I’m one of thousands who gave up hours and hours of my life to it. I have very fond memories of those times, staying up late with my friends on the phone, hacking evil monsters to bits, making the world safe again. I think it’s a great form of geek therapy where no matter how bad your day was at work, taking out all the monsters on the Arreat Summit would somehow make things feel right and good in the world.
And with all that time invested in the game, there were a few lessons that are very applicable to real-world software development. With Diablo III now generating a new wave of excitement for Blizzard’s series, I thought I’d share my insights from my favorite game of the early 21st century.
Take care of the monsters that spawn other monsters first
In the second act where you’re in the Kurast jungle, there are these incredibly annoying and potentially dangerous witch doctors. Each witch doctor can summon more helpers that continue to attack you and drain your resources. If you’re surrounded by 10 witch doctors and those incessant little critters they spawn, you’re in for a world of hurt, especially if you just focus on the spawned critters. You need to hit the witch doctors first, ignoring the rest of the group, before you start attacking what’s left.
Lesson learned: Any problem that is creating additional, more painful problems, needs to be addressed early on in the process before worrying about others. For example, if you have some serious bugs that continue to crop up and cause your team to spend cycles constantly nursing production systems along, but the fix is going to be hard and take away from your current development, perhaps the fix is worth the time considering the amount of time wasted in keeping the system healthy.
Brute force counts for a lot most of the time…
Subtlety is not really rewarded for the majority of DII. Your best bet as any class is to pick the weapon, spell or skill that basically will take out the highest number of monsters given the situation. That “silver bullet” is constantly changing depending on the Act or the area as monster vulnerabilities and resistances change.
Lesson learned: Pulling out your best code tricks for each and every part of the system can potentially be a waste of time. This is just another way of saying that premature optimization is the root of all evil. Use the simplest algorithm, framework, or idea that solves the problem. Go ahead, put that brain dead String concatenation method in there…chances are, it won’t matter all that much in the larger scheme of things.
…But you need to be subtle around the Boss
When you face the Boss creatures on any level in DII, suddenly you’re forced to adopt a clear cut strategy. Brute force won’t cut it, and even with a larger party you still need to work together and with great care to take down the Boss creature because he will most certain pwn the unprepared. Certain character classes have advantages when facing the Boss depending on their vulnerabilities. When I was a Necromancer, facing the Boss at the end of Act I was a real bear for me alone, but my Barbarian friend could easily take him toe-to-toe while I dumped damage into him from afar. Together we made a big difference.
Lesson learned: You can’t always beat the code down with brute force. Some very specific problems require a lot of thought, time and energy. Pick your battles and choose your weapons to attack these problems carefully. Sometimes, you’re not the best one to deal with the problem…maybe you had a hard time implementing the original solution. Ask a colleague to step in and pair program it with your, or maybe even offer up their solution ideas for a fresh perspective.
There’s always a new shiny thing to go get
There’s always a better, bigger, faster, shinier, more powerful item to go get. Whether you’re 10th level or 90th level, the quest for the Bigger, Better Mousetrap will always go on. You will never have enough Elite Rare items, no matter how many of them you get. There’s no winning this game but patience and persistence will get you what you seek if you’re willing to put in the time and effort.
Lesson learned: Newer technologies, frameworks and languages are always out there. They will continually tempt you into thinking that your current technology isn’t nearly as good as What Is Out There. Never let technologies drive your solutions past the original choices phase unless you’ve discovered a critical flaw in your original analysis. For example, if you find that your database connection pooling solution simply cannot perform at the level you specified or tested that it would, it would be worth reexamining that particular choice. Make a choice, stick with it for long enough to finish something with it. Wait for the right moment to upgrade.
There’s no one best way to play the game
One of the great things about DII and other MMORPGs is the variety of characters you can play–Amazon, Necromancer, Druid, Barbarian, Sorceress, Paladin, Assassin or Monk. Each has its own unique abilities, skills and fun factor. I personally enjoyed the Necromancer and the Assassin–the former for summoning hordes of skeletons to do my dirty work and the latter for having the coolest looking claws to take monsters to the mat. Anyone who says that <insert character here> is the only way to win the game, clearly hasn’t tried the others with similar zeal.
Lesson learned: Trying out new languages and frameworks is a great way to chase away boredom in your career. Just because you did your last 5 projects with Java doesn’t mean it wouldn’t be interesting or worthwhile to try the same kind of project out with Ruby to see how it varies. Maybe it will make you a better Java developer because of what you learned in Ruby. Language snobs are boring and generally one-dimensional. You’ll be a better developer for stretching your boundaries and limits in things you don’t understand as well as your native language(s).
Blind experimentation is a waste of time and resources, better to leverage others work first
The Horadric Cube was an essential piece of the game in DII but it could be a source of frustration if you didn’t know what really worked in it. You had two choices with it: Spend lots of time systematically putting things in and pressing “Transmute” to see what happened (which, depending on the items you stuck in, could be hours or days to re-find if you later discovered you made a mistake), or just look up the recipes online and then start hunting for the right items to make things work.
Lesson learned: Spinning your wheels experimenting with a problem when better and more complete information about it exists in other places is just a waste of time. Reinventing the wheel might be fun, but it’s unlikely to be the best use of your time when the project clock is ticking away. Stand on the shoulders of giants and leverage all that great information others have posted on the internet about your framework, language or technology.
Sometimes there is a secret cow level and it’s fun
If you found Wirt’s Leg and a Tome of Town Portal, put those in the Horadric Cube after you defeated Diablo on a level, there was a red portal to a secret cow level: you got to go whack some cows for a change. But not just any old heifer. These were mean cows. Big, bad cows. Cows you wouldn’t be tipping anytime soon. But damn, it was hilarious.
Lesson learned: Unexpected surprises are fun. And never underestimate the Power of the Bovine. Celebrate the absurd every now and then.
No matter how deep you are in Hell, it can always get worse
You made it all the way through Diablo II’s Normal level thinking, “Wow…that was hard.” Until you turned on Nightmare and realized that you ain’t seen nothing yet. Those little rats from the first Act? Wow, they’ve got serious bite now. And Baal? Well, let’s just say that Full On Bad Ass is an understatement. You might have gotten away with quick and sloppy the first rounds with the Boss scenes, but that’s not going to cut it this round.
Lesson learned: If you think your performance problem is bad in production, consider what might happen if the entire server farm crashed. Or if you’re dealing with a major crash, what would happen if you had 50% hardware failures instead of just a software problem? The list goes infinitely deep, each more terrifying that the previous. Complaining about the problem isn’t going to help. You might as well be thankful your situation is not worse and deal with what you have. If you did something that was sloppy during the product development, own up to it, fix it and move on.
There you have it. Eight fun lessons from Diablo II. Got a lesson that I missed? Talk back below!
Well, congrats for this wonderful post. It was very funny and… informative, Although I thought that only I identified so much with DII. haha 😀
Funny, but still very insightful.
Big ups.
Nice post, I knew that all that time I spent playing Diablo 2 would pay off in the long run.
Great post!! Looking back I believe D1,D2 and SC compromised a large part of my childhood and not unexpectedly the BEST part. =)
Thanks again for the read, very amusing.
Nicely written… good job. You made the lesson clear.
There are some minor mistakes in your memories of DII I think but they don’t play any role in this story, so nevermind 😉