Simple but messy 2 state AI implemented.