Don't attempt this at first because they'll often be impossible to beat back once they've gotten to your base. Wait until you've upgraded your troops and defences a bit then play the first level, allow them to destroy half of your base's health then buy a bunch of troops and crush them.
You might also get this by playing legit if you're better than I am.