added logic to trigger AI moves about a 0.5 second delay