CodePudding user response:
If you judge is wrong, if use | |, O you input, will meet the player!='X', will also enter the if branchSo the if conditions change to the following
If (player!='O' & amp; & player! )
='X'
CodePudding user response:
CodePudding user response:
If you judge is wrong, if use | |, O you input, will meet the player!='X', will also enter the if branchCodePudding user response: