Part: Mini Game1

By randomly determining the number of cat cards, ensure that each cat card is an integer multiple of 3, so that all can be completely eliminated, and create a stacking effect, requiring the upper cards to gradually display the lower cards. The selected cards are added to the grid below, which detects if there are 3 identical cards present at the time of addition, if they are eliminated, and rearranged, if all cards are eliminated, the game wins, if the grid is filled, the game loses.




Added more Settings to set the difficulty of the game based on these parameters, including the width and height of the random card generation, the number of cat spawns, and border representing the distance of the game border inside the generated card to prevent spawns from going outside the interface.

The game's success and failure scenarios are also created





评论

此博客中的热门博文

Part:Game export