There are websites that are licensed and regulated to operate for legal gambling. Also, you can play beyond the server covered by Canada, which is playing offshore.