Found issue with win detection

Mostly just messing around with my AI though