This demo is based on TypeScript created by Egret Engine. It includes the initialization of gems, the elimination of the gems and counting of the gems including the animation of these functions. When the counts of gems achieve a specific number, the gems in the map would increase and go to the next level of the game. The basic logic of the game is based on iterative algorithm and object-oriented programming. And I used the Tween function in egret to create the animation of the game demo.
- Resources: All the Images/Special effect files/
- Src\Main: Initialization
- Src\map: Operations on map including the falling animation/detection of gems need to be eliminated
- Src\Gem: Get the color/position/mark or not information of each gem
- Src\Bomb: Bomb special effects