computer_move从左上角开始扫描,发现有空当(player没走的地方)就填0。这是tic-tac-toe游戏,player只能用X,computer只能用0,连换角色都不成。
先下左上角的X,然后随便你怎么下都能赢。
computer_move从左上角开始扫描,发现有空当(player没走的地方)就填0。这是tic-tac-toe游戏,player只能用X,computer只能用0,连换角色都不成。
先下左上角的X,然后随便你怎么下都能赢。
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy