~~
This is merely a temporary tactic to starve your addiction; it won't be long before you reset your computer and resume your gambling activities. The first step is to accept that you are addicted as you have done, and the second and last step is to discipline and control your urges.
It won't be simple, and it will be a slow process, but your chsncesabdes s of getting out are low until you master the second and last options.
It becomes even more difficult to discipline yourself when gambling when a friend wins big and wants to give you tips. Your soul will be tormented by the desire to curb your addiction by simply distancing yourself or playing again and taking tips from your friend.
The key lies within yourself; how long it lasts depends on how you learn to behave and take action against gambling.
At a certain point, when gambling starts causing stress, making your savings disappear, and interfering with other responsibilities, then there's no choice but to stop. The enjoyment you hoped to get from gambling likely won't be there anymore, that's a clear sign it's time to quit. Everyone has their own way of stopping, because essentially, everyone has different motivations when they start gambling.
I think, realizing that your financial situation no longer allows for gambling can help someone stop before it's too late. While there are many roads to casinos or online gambling, with commitment, gambling addiction can certainly be stopped.