I love the animation of the raccoon digging in the garbage! I'm not sure how to escape the dog though. I managed to get 4 biscuits on one play though before getting caught. Good Job!
As it's currently programmed, the dog moves almost as fast as the player, so running in a straight line for a bit before taking a few corners can do it. Alternatively, I didn't put it anywhere but getting any reward involving cheese will speed the player up by 20% temporarily too :)