It is about the bad side of gambling and has to do with Dostoyevsky's own experiences from his travels to Wiesbaden, Baden-Baden and other casinos. At the time when he wrote The Gambler he had serious financial problems. The Gambler was also turned into an opera by Sergei Prokofiev.