I want to make a game where it uses box characters ascii 176 177 178 and 219 and maybe 240, and if I click on a block, all of the same character that are touching each other must be erased, and all of the ones from above fall into the holes to cover them up solid again adding new pieces to the top once the top ones have fallen so that the screen is always solid. Sounds easy if you say it fast enough :) Problem is getting it to start at the piece you clicked on then check each of the four pieces adjacent to it, and keep going until it runs out of connected pieces yet stopping at the edges of the screen.
Any ideas would be greatly appreciated