Hi, i dont use VB too much but i thought i would try and make a quick little game just for a bit of experience. I figured i should check here for any good and fast methods to work off.

I want to try and make a block game where you get a stack of blocks, and you have to click the groups of 2 or more to eliminate them, with the goal being to eliminate all of the blocks on the board.

The only way i know how to create this is by checking each randomly colored square with an "If statement" to see if its neighbor square is the same color when you click it.
The problem with that is when you have 200 blocks its a bit tedious and I searched but have no idea how to know if a shape was clicked on the program.

Im sure theres an easier way. I was thinking of a for...loop by checking the shapes array

VB Code:
  1. For A = 0 to 199
  2.  if shape1(A).backcolor = shape1(A + 1).backcolor and "user clicked control"_
  3. then "dissappear and slide above block down"
  4. Next A

But I have a few issues there,
1. I cant check multiple blocks the same way like that when i hit the border
2. I dont know if i can or how to check if the control was clicked in that way.

So i know i have some basics still to understand, but this is why im working on it. (I spent a good bit searching around the forum, which did help, but im still stuck with these questions.)

Any reply is much appreciated.