Is there any chance to check neighboring objects for similarity of parameters (ID for example)
Like in 3-match game. Look left or right for similar object, then remove them and so on.
I know that there are special objects for this like AGBO. But I would like to know how to write an algorithm from scratch.