(a) A person commits an offense if the person intentionally or knowingly purchases a ticket with:
(1) the proceeds of a check issued as a payment under the Aid to Families with Dependent Children program administered under Chapter 31, Human Resources Code; or
(2) a food stamp coupon issued under the food stamp program administered under Chapter 33, Human Resources Code.
(b) An offense under this section is a Class C misdemeanor.