How does an atom decide what to bond to?

Given for example, a Hydrogen atom (that can only have 1 bond max), that is sitting on a bonder next to two other atoms that are also on bonders and have available bonding slots, how is it determined which atom the Hydrogen ends up bonding to? I’ve tried experimenting with it being a priority order of directions, but that doesn’t seem to be correct.

Answer

I’m afraid there’s no real science behind this. Each bonder has a priority number likely based on the internal data structure (array, linked list, whatever). The game just processes this list in a first through last order. So the bonding order in game is just how the bonders happen to be arranged. I would be nice if they were labeled, but as far as I know there’s no way to get their priority in game. So with two bonders linked, it just goes through the list sequentially. For example, with 4 bonders the list of checked links would look something like this:

  1. (1, 2)
  2. (1, 3)
  3. (1, 4)
  4. (2, 3)
  5. (2, 4)
  6. (3, 4)

Which is simply an ordered list of the pairs of priority numbers. With that knowledge, you just need to know which bonder has which priority. Though experimentation I’ve found that:

For 4 bonders in a fresh level the bonder priority numbers are:

1 - 2
| . |
4 - 3

For a fresh level with 8 bonders the bonder priority numbers are:

1 - 2
| . |
4 - 3
| . |
5 - 6
| . |
8 - 7

Attribution
Source : Link , Question Author : bwarner , Answer Author : MichaelHouse

Leave a Comment