Jun 272016
 

Yesterday I started playing Screeps and bought it even when I hadn’t finished the (free) tutorial yet. I mentioned Screeps earlier, and it’s now in an almost ready state. It’s available on Steam.

The game looks simple, but it’s not. As I mentioned before, it is only as good as the code you put into it. You can spawn creeps with certain properties, so they can harvest, or attack, or heal. But unless you run a “program” that actually uses these properties, the creep is not going to do a thing and will die without being of any use to you.
The tutorial teaches you to give a creep a role, and the behaviour of each role will be specified in a javascript file for that role.

You will make mistakes. And I don’t mean mistakes in your code, since the code will only run (of course) when it’s syntactically correct. No, I mean mistakes about how to play the game. A stupidly placed spawnpoint. Choosing a room full of swamp. Forgetting that other creeps will attack you, and you didn’t think of defending your base. Creeps will die (of old age), and you forgot to respawn them. That kind of mistakes. And with each mistake you solve, your code gets better. And meanwhile……you get better at coding!

screeps-27062016