There is evidence that compulsive gamblers are wired a little differently than others. It's to do with the area in the brain that delivers the neurotransmitter dopamine.
Check out this article:
psychcentral.com/news/2010/05/07/problem-gamblers-wired-to-take-another-chance/13598.html