In my eyes it does not look very difficult if you just stay away from gambling it all it would be no problem.
You should just keep remembering that gambling can get you in deep trouble and that its not good to do.
You need to have self control and if you lack it then even God cannot help you in staying away from it, as gambling is very addictive and cannot be get rid off so easily.