python实现五子棋游戏和ai对战

上传者: tiantian091116 | 上传时间: 2022-11-21 14:26:20 | 文件大小: 7.88MB | 文件类型: ZIP
python实现五子棋游戏包括人工智能对战 大学生课程设计 基于python的课程设计 五子棋是全国智力运动会竞技项目之一,是一种两人对弈的纯策略型棋类游戏。五子棋有两种玩法。玩法一:双方分别使用黑白两色的棋子,下在棋盘直线与横线的交叉点上,先形成五子连线者获胜。玩法二:自己形成五子连线就替换对方任意一枚棋子。被替换的棋子可以和对方交换棋子。最后以先出完所有棋子的一方为胜。五子棋的棋具与围棋通用,是一种传统的棋种。

文件下载

资源详情

[{"title":"( 64 个子文件 7.88MB ) python实现五子棋游戏和ai对战","children":[{"title":"FiveZiQi-main","children":[{"title":"best_policy1.model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"best_policy2.model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"tools.py <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"gpuresult","children":[{"title":"best_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"changefile.py <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"loaddata.py <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":"testGPU.py <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"best_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"mcts_alphaZero.cpython-39.pyc <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"mcts.cpython-39.pyc <span style='color:#111;'> 10.87KB </span>","children":null,"spread":false},{"title":"policy_value_net.cpython-39.pyc <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"run.cpython-38.pyc <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"run.cpython-39.pyc <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"tools.cpython-39.pyc <span style='color:#111;'> 9.84KB </span>","children":null,"spread":false},{"title":"searchTree.cpython-39.pyc <span style='color:#111;'> 11.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"output","children":[{"title":"best_policy.model <span style='color:#111;'> 470.37KB </span>","children":null,"spread":false},{"title":"output <span style='color:#111;'> 25.70KB </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 470.37KB </span>","children":null,"spread":false},{"title":"loss.png <span style='color:#111;'> 18.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"RLtrainGPU.py <span style='color:#111;'> 9.85KB </span>","children":null,"spread":false},{"title":"run.py <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"RLtrain.py <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"changefile.py <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"policy_value_net.py <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"five.py <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"mcts.py <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"searchTree.py <span style='color:#111;'> 15.81KB </span>","children":null,"spread":false},{"title":"mcts_alphaZero.py <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"python实现五子棋游戏和ai对战","children":[{"title":"main","children":[{"title":"best_policy1.model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"best_policy2.model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"tools.py <span style='color:#111;'> 14.23KB </span>","children":null,"spread":false},{"title":"gpuresult","children":[{"title":"best_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"changefile.py <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"model <span style='color:#111;'> 465.79KB </span>","children":null,"spread":false},{"title":"loaddata.py <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":"testGPU.py <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"best_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"mcts_alphaZero.cpython-39.pyc <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"mcts.cpython-39.pyc <span style='color:#111;'> 10.87KB </span>","children":null,"spread":false},{"title":"policy_value_net.cpython-39.pyc <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"run.cpython-38.pyc <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"run.cpython-39.pyc <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"tools.cpython-39.pyc <span style='color:#111;'> 9.84KB </span>","children":null,"spread":false},{"title":"searchTree.cpython-39.pyc <span style='color:#111;'> 11.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"output","children":[{"title":"best_policy.model <span style='color:#111;'> 470.37KB </span>","children":null,"spread":false},{"title":"output <span style='color:#111;'> 25.70KB </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 470.37KB </span>","children":null,"spread":false},{"title":"loss.png <span style='color:#111;'> 18.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"RLtrainGPU.py <span style='color:#111;'> 9.85KB </span>","children":null,"spread":false},{"title":"RLtrain.py <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"changefile.py <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"policy_value_net.py <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"five.py <span style='color:#111;'> 9.82KB </span>","children":null,"spread":false},{"title":"mcts.py <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"current_policy.model <span style='color:#111;'> 467.63KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"searchTree.py <span style='color:#111;'> 15.81KB </span>","children":null,"spread":false},{"title":"mcts_alphaZero.py <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明