Playing gambling in front of children is the same as teaching children to gamble because children are good imitators. So stop gambling in front of you because the impact will be very big on his education. Gambling is something that is not good, even for adults gambling can have bad consequences, especially for children, of course their minds are not smart enough to see the negative impacts of gambling.
Usually a child will do anything if he already knows or likes any game. For example, when there were still Playstation rentals, when children were addicted they would look for money in any way they could to get to the rental place, including secretly stealing money at home. Another example like today is playing games on a smartphone and getting addicted, of course this is also not good, especially if you frequently top up, they will also look for money in any way to be able to top up. Especially if they already know about gambling from their father, this will certainly have a bad impact on your child in the future.
Well gambling is not a bad idea, I won't conclude that it's not good because it has it's advantage and disadvantages as well if an individual gamble responsibly and apply good strategy then the person stand a chance of benefiting from it, but when individuals gamble recklessly or refuse to gamble responsibly like most casinos sites advise then they'll suffer the bad consequences of gambling.
I won't advise any parents to gamble in front of their kids cause most kids have the ability to learn very fast and at that tender age I'm not sure they'll understand how to gamble responsibly, some don't even know that too much gambling could lead to addiction therefore would always want to do it cause most casinos games are similar to their video games on play stations. Also since most kids do not have money to gamble with, they could be forced to steal from their parents to do so.