fixed problem with ai ignoring opponent moves