123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|607|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> Group Detection Algorithm

Wed, 08 Dec 2010, 08:48
Stealth
Maybe someone here can help me with this. I'm writing a super collapse knockoff. I've gotten this far. (The obnoxious colored blocks are placeholders for images.)



I need to be able to detect pairs of 3 or more same colored blocks that are touching. Does anyone know a good algorithm to follow in order to accomplish this? All of my ideas seem overcomplex.

-=-=-
Quit posting and try Google.
Wed, 08 Dec 2010, 08:54
Jayenkai
yup, loads of times!

-=-=-
''Load, Next List!''
Wed, 08 Dec 2010, 09:24
Stealth
Thanks Jay.
Wed, 08 Dec 2010, 09:45
Jayenkai
Which reminds me.. I really oughta get Puzzobomb done...

-=-=-
''Load, Next List!''