I once saw chess with AI included in Pico-8 but the dev couldn't make it recognize 3-fold repetition and 50 move rule since they ran out of tokens
Pretty sure they got the 50 move rule tho