I strongly say that is really bad habit. It gives you more unrest. You always think about that. You do not care about other things. But you will manage you time for it at any cost. You may have more pretending. Gambling is not good idea to make money. It is very unsure. When you will win and you will again go to such places.
Finally, you will lose. Only way is to overcome from this habit is accept from you mind and heart it is very bad habit. It brings many problems. So, accept the reality. You will never win. If you win, it is temporary. Again you will lose.