here is iRS guidance on the matter
https://www.irs.gov/charities-non-profits/exclusion-of-bingo-from-unrelated-business-activity#:~:tex...