I've finished up the integrated help system for Swarm (though I still have a lot of help content to write!). We're now working on putting out a new 0.9 release. I plan to work on some other minor things, but have started to think about and plan for the next big project: parallel semantics for robots. Currently, every game tick the robots all execute in sequence; this was simple to implement, but is bad for a number of reasons:
- Robots' precise behavior depends on the specific order in which the robots execute, which in practice is in order of their ID number; but the ID number is not something users should need to know about.
- If you carefully create a line of robots ordered by ID number, they can conspire to teleport an entity arbitrarily far in a single game tick.
- Sequential execution of robots means we cannot easily parallelize robot evaluation, and makes networked play much more difficult.
The idea, therefore, is to switch to a
parallel semantics,
i.e. more like a typical cellular automaton: conceptually, all robots execute each step in parallel, looking at the same state of the world, and can decide on at most one "concrete action" to take in that step. Then, in a separate "resolution phase", we check for conflicts between the actions and update the world appropriately.
Of course, there are lots of details to work out but that's the basic idea. It's not a change that most users will really notice but it will lay the foundation for a lot of nice features in the future.