added side defense logic to CPU turn method