没有合适的资源?快使用搜索试试~ 我知道了~
Chess_Neural_Networks:使用基于概率的树搜索和神经网络对Chess Engine进行简单的python实现
共109个文件
py:90个
png:13个
pgn:2个
需积分: 9 0 下载量 50 浏览量
2021-05-16
11:57:36
上传
评论
收藏 26.16MB ZIP 举报
温馨提示
国际象棋神经网络 概述: 这是国际象棋游戏的简单python实现,包含以下功能: 合法举动验证 AI播放器,它使用基于minimax的树搜索来找到任何给定位置的最佳移动 FEN和PGN解析器设置自定义位置 如何运行: 要运行游戏,只需运行python3 -m main 要运行单元测试,请运行python3 -m tests.main 截屏: 基本结构: 该项目实现了MVC架构: 楷模: game_logic.py包含以游戏为中心的信息,例如玩家,转身和FEN / PGN助手 player.py包含以玩家为中心的信息,例如颜色,棋子列表,连铸信息,检查和将棋逻辑 ai_player.py包含Player的子类,并且包含AI树搜索逻辑 board.py包含以板为中心的信息,以及在某些正方形上设置有效块或空块的所有必要步骤 square.py包含以正方形为中心的信息,例如文件,
资源推荐
资源详情
资源评论
收起资源包目录
Chess_Neural_Networks:使用基于概率的树搜索和神经网络对Chess Engine进行简单的python实现 (109个子文件)
.gitattributes 66B
.gitignore 1KB
README.md 4KB
sample2.pgn 88.51MB
sample1.pgn 1.96MB
screenshot.png 601KB
♕.png 2KB
♚.png 2KB
♔.png 2KB
♛.png 2KB
♗.png 2KB
♘.png 2KB
♞.png 2KB
♙.png 1KB
♝.png 1KB
♖.png 861B
♟.png 793B
♜.png 674B
promotion_moves_tests.py 10KB
player_tests.py 8KB
move_generator.py 7KB
utility_tests.py 7KB
fen_helper.py 6KB
board.py 6KB
queen_possible_moves_tests.py 6KB
player.py 6KB
knight_possible_moves_tests.py 6KB
king_possible_moves_tests.py 6KB
fen_tests.py 5KB
test_utility.py 5KB
square.py 5KB
queen_block_moves_tests.py 5KB
bishop_possible_moves_tests.py 5KB
rook_possible_moves_tests.py 5KB
utility.py 5KB
pawn_possible_moves_tests.py 4KB
queen_captures_tests.py 4KB
view.py 4KB
enpassant_moves_tests.py 4KB
queen_disallow_moves_tests.py 4KB
castling_moves_tests.py 4KB
queen_allow_moves_tests.py 3KB
pawn.py 3KB
main.py 3KB
bishop_block_moves_tests.py 3KB
knight_block_moves_tests.py 3KB
king_block_moves_tests.py 3KB
rook_block_moves_tests.py 3KB
pawn_block_moves_tests.py 3KB
ai_player.py 3KB
bishop_captures_tests.py 2KB
knight_captures_tests.py 2KB
king_captures_tests.py 2KB
pawn_captures_tests.py 2KB
rook_captures_tests.py 2KB
king.py 2KB
rook_disallow_moves_tests.py 2KB
pawn_disallow_moves_tests.py 2KB
king_disallow_moves_tests.py 2KB
knight_disallow_moves_tests.py 2KB
bishop_disallow_moves_tests.py 2KB
knight_allow_moves_tests.py 2KB
bishop_allow_moves_tests.py 2KB
pawn_allow_moves_tests.py 2KB
rook_allow_moves_tests.py 2KB
king_allow_moves_tests.py 2KB
piece.py 2KB
controller.py 2KB
game_logic_tests.py 2KB
constants.py 2KB
structures.py 2KB
knight.py 1KB
bishop_board_operations_tests.py 1KB
knight_board_operations_tests.py 1KB
game_logic.py 1KB
queen_board_operations_tests.py 1KB
pawn_board_operations_tests.py 1KB
rook_board_operations_tests.py 1KB
king_board_operations_tests.py 1KB
square_tests.py 1KB
piece_factory.py 1KB
queen.py 975B
evaluation_handler.py 844B
error_handler.py 747B
bishop.py 747B
rook.py 729B
pgn_helper.py 538B
input_output_handlers.py 477B
pgn_tests.py 453B
paths.py 169B
main.py 55B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
共 109 条
- 1
- 2
资源评论
米丝梨
- 粉丝: 25
- 资源: 4682
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功