How to Outsmart Casinos at Their Dirty Tricks