C# program for solving puzzle needed

Dec 3 2004 8:46 AM
Hello, I'm searching for a program that can solve me a tetris-like puzzle game. U certainly know this type of game, where u have a screen filled with tiles of different colors and when u click one tile, it and the adjacent tiles of the same color disappear. The goal is to clear the screen. What I need is a program (or a hint how to code it) that solves a specific set of tiles (in particular a 16x10 matrix u could say with 5 different colors) and then shows the solution to it, that means which tiles u have to click. The rules are that same-colored tiles horizontally and vertically disappear, diagonal is not considered. u can click anywhere, tiles on top of the disappeared fall down, if a column is cleared the remaining columns move together, so clearing the gap. Does anyone know if such a program exists or did anybody write something similar? Any help is highly appreciated. Thanks

Answers (4)