The popular game Candy Crush exploits mechanisms of addiction in the same way some recreational drugs and gambling do.