A famous question on Leetcode involves simulating a simplified version of the Candy Crush Game:
https://leetcode.com/problems/candy-crus