Microsoft interview question

How would you implement a game like candy crush?