This is the main engine for a game I've been working on called Fruit Smash. It is an addictive puzzle game similar to some you may have seen on the Internet. The hard part (the engine) has been done. Select any two horizontally or vertically adjacent pieces of fruit by clicking them; they swap positions. If swapping these positions results in a vertical or horizontal match of three pieces of fruit, they disappear and new ones come in. |