Well right, while on the other hand they have full responsibility for the time and work they have, meaning they really can't gamble when they are on work time because obviously if we look in terms of consequences then it can be fatal, as you said that the boss will not be happy when he sees his employees doing other things during working hours and especially if the activity is gambling which gambling has a very negative point of view in the eyes of society so the boss will definitely be much wiser in terms of making decisions, the first possibility is probably yes you will get a warning and if the next time you are caught making the same mistake by gambling during work time then I think it is clear that it is very likely that you will lose your job or simply be fired.
This is what happens when you do something without careful consideration, as I said earlier that gambling in the workplace is a very careless or stupid decision and action. And there is no other advice other than you must really be able to divide your time according to portions, if it's time to work then focus on work and if you are on vacation then obviously you are free to do anything and one of them might be gambling.
And if you don't carry out your responsibilities at work then you will get a warning because you are not professional at work. Which boss allows his employees to do whatever they want? because I'm sure every company must have certain rules where employees are not allowed to do things such as gambling, smoking, drinking alcohol while working because this will interfere with their main job, especially if you work in an office, this will really affect your work reputation. However, if you work outside the field and are free and not supervised by your superiors, you can do it secretly without your friends knowing because you are not in the room and your friends might don't know.
However, even so, that doesn't mean you can avoid the risk of losing your job because maybe one day your boss will find out if you gamble during working hours so this will cause problems for your job and you will also be threatened with being fired, so it is true, as people here suggest, that avoid gambling temporarily while working because work is more importants than just gambling.