DIV Games Studio

A few months ago, I discovered that an old website, which I used to visit during my childhood days, was back up again. This triggered a bit of nostalgia in me about my experience of learning to code as a kid and how it influenced my life.

“DIV Arena” might not mean much to you, but I’m sure that for quite a few people it was an important part of their life. It used to be the main website where people would upload and discuss games that they made via a program called “DIV Games Studio”.

MikeDX restarted div-arena.co.uk again in 2016

MikeDX restarted div-arena.co.uk again in 2016

Like many kids, I used to play a lot of computer games, especially Total Annihilation. That game got me to spend so much time on the computer that it drove my dad crazy. He looked at it as an addiction, probably rightfully, and tried to lure me away from it in creative ways, but only with limited success. I think that eventually he decided to change his approach with the goal of getting me to spend my computer time more productively. That’s when he bought me DIV Games Studio.

As I’ve hinted at above, this was essentially a desktop environment optimised for making your own computer games. It offered a code editor, a graphics drawing program and a programming language, all intended to lower the barrier and teach people how to build games.

A screenshot of the DIV Games Studio desktop environment

A screenshot of the DIV Games Studio desktop environment

I was super excited to start making games, so I tried it out immediately, but I was also twelve and didn’t have a clue about how programming worked. The first time I just started typing a story in the bright blue terminal, thinking that would somehow be translated into a game with graphics and everything.

Disappointed when that didn’t work I asked my dad for help again. He kindly told me that’s not quite how it works. If I wanted to learn to make a video game, I would have to read the manual and learn the programming language. Unfortunately, he couldn’t help me either, because while he did learn some Pascal at some point, that was many many years ago. So I set out to learn programming on my own.

Luckily, DIV came with a manual and a tutorial on how to build a game similar to Space Invaders. The tutorial was reasonably easy to follow, and I was able to build my first game. It definitely took more patience than I’d ever needed before, but I did it and it was satisfying. After that, it became more difficult though, because now there was no more tutorial to guide me. If I wanted to do something new, I was on my own with a dial-up internet connection and a pre-StackOverflow internet. That was hard, and I remember giving up many times when I got stuck, but somehow I always kept coming back and I often found solutions via div-arena.co.uk’s discussion forums. It taught me how to persevere more and how satisfying it could be to build something from scratch while solving all kinds of technical mysteries along the way.

I built a few more simple games, but eventually I kind of lost momentum and didn’t program much for a few years. It’s only when I was 19, while I was studying something not-so-programming-related, that I realized this is what I wanted to do.

Either way, I have a lot to thank DIV Games Studio for, because once I picked up programming again, it was a lot easier for me to get started.

The Software Muscle

If you apply small, but relatively frequent stress to a muscle, then over time it will adapt and grow stronger. We don’t frequently talk about it in the context of software development, but I believe it holds here too. By frequently applying small amounts of stress to our software and processes, we can greatly improve them over time.

If you look at the practices that exist today, you’ll find plenty that follow this principle. When doing continuous deployment, we deploy automatically on a frequent basis, often even on every commit to master. Each deployment applies a little bit of stress. And sometimes… things will break! But that danger is what helps us make our process more resilient. Would you rather deploy a huge change once a year, with the risk of a massive downtime that's hard to recover from? Or, do you deploy small changes, many times per day, with each potential issue helping you learn more about your deployment process? I know which one I prefer.

Of course, at first, switching to this flow can be pretty scary, and probably for a good reason. There are many things that can go wrong if you aren’t used to deploying that frequently. If you only workout once a year, you may get hurt if you’re careless. However, once you commit to moving towards more frequent deploys, you’ll learn to tackle these issues one by one. Note that you don’t have to deploy on every commit from day one, you could just deploy once per workday or per week initially. And, of course, depending on your context, there might be constraints which prevent you from reaching the “deploy-every-commit” state, but the principle still holds and it’s still valuable to deploy as frequently as you can afford.

I see another application of the principle of “software as a muscle” in services that automatically update your dependencies, like Dependabot or Depfu. These services watch your dependencies for new releases and then automatically make a pull request with an attached changelog. As a result, we end up with frequent and smaller dependency updates, instead of the semi-regular “Let’s update all the libraries and see what breaks”. Again, there are more frequent smaller stresses, and something may break occasionally, but this helps us improve over time. Our software stays up-to-date and will be more enjoyable to work with, given the more up-to-date dependencies.

Similarly, I see the idea at play in the Chaos Monkey tool built by Netflix. Quoting their README file:

Chaos Monkey randomly terminates virtual machine instances and containers that run inside of your production environment. Exposing engineers to failures more frequently incentivizes them to build resilient services.

Finally, I believe it’s also one of the principles that makes Test-Driven Development valuable. By adding tests to our code, we apply a bit of stress to it, which verifies that the code behaves as we expect it to. When we apply changes to the code in the future, those tests again will verify whether we are not breaking anything.

If you see any other places in software were this applies, please let me know! I’d love to hear from you.

Short iterations

Sometimes it’s easy to forgot the value behind short iterations, so let’s discuss why they’re important.

While it’s sometimes true that splitting a big change into smaller pieces can be hard, it’s still worth it. Whenever you’re going through a long iteration, you aren’t getting feedback. You’re working in a bubble, and you might be running headfirst into a wall.

Short iterations are important because the iteration is your feedback loop. Once you finish an iteration you can get feedback on it. Getting it quickly is important, because it allows you to adjust at a lower value stage. Changing direction early is always easier than later.

The feedback comes from multiple sources by the way. You can get feedback from your colleagues, from tests, from seeing an idea work in production, from users or many other ways. Some issues and improvements are hard to predict, and feedback helps surface those quicker. That’s why short iterations are important. Feedback and adjusting based on that feedback is the goal.

This post was originally published on Medium on Nov 26, 2015.