The only thing that I can think of is by just go out and looking for a other hobby that is going to help you for sure if you manage to find the right one for you.
If that does not help then you will have to get some help from a professional.
Only hobby is not working, if you find the alternate from which you can make some coins then you can say that you are able to stay away from gambling because people are addicted to gambling just because of money that they win from placing bet. So if you find another activity to earn coins then you can easily stay away from gambling.