Stack cakes on top of each other as high as you can. If you miss 3 times and the cake falls on the floor, the king will have enough of you and start eating all the cakes you stacked so far. The more he gets to eat, the better.
Click when you want to drop the cake. Direct the king with the left and right arrow keys.