Updated gif with special candy.
$ git clone https://github.com/weiqing/3-match-pixijs.git
$ cd 3-match-pixijs
$ python -m SimpleHTTPServer 8000
Then go to latest Chrome browser and open http://localhost:8000/3match.html
You can use the develop tool by Chrome to call the following functions
level.removeSpecificCandy(color)
Removes all the candies with certain color(num).
level.removeRow(row)
Removes a certain row(num).
level.removeColumn(column)
Removes a certain column(num).
var candy = level.candies[x];
level.removeSurroundCandies(candy);
Removes a 3x3 candies around input candy.
Currently finished features:
Render sprites on the screen.
User can swap tiles (Improve animation later).
Generate tiles (will not connect more than 3 tiles on a row/col).
Remove matched candies.
Added two sound effects.
Special candies in progress.
Referred to the iOS tutorial http://www.raywenderlich.com/75270/make-game-like-candy-crush-with-swift-tutorial-part-1