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