实例介绍
《C/C++中国象棋程序入门与提高》由浅入深地介绍了中国象棋博弈程序的各个基本知识点,以实际案例来促进读者对算法的理解,提高实际编程能力。主要内容包括:中国象棋博弈,局面表示,走法表示及生成走法,局面评估,基本搜索算法,人机博弈,机器对弈,置换表,算法分析及测试技术,时间控制策略等,这是该书的随书源代码
【实例截图】
【核心代码】
C、C中国象棋程序入门与提高
└── C、C++中国象棋程序入门与提高
├── 光盘目录.txt
├── 第10章 算法分析与测试技术
│ ├── chessengine9-7
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ └── 第六章
│ ├── 6-2.cpp
│ ├── 6-3.cpp
│ ├── 象棋程序.dsp
│ ├── 象棋程序.dsw
│ ├── 象棋程序.ncb
│ ├── 象棋程序.opt
│ └── 象棋程序.plg
├── 第11章 时间控制策略
│ ├── 11-1
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── 11-2
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ └── 11-3
│ ├── Board.cpp
│ ├── Board.h
│ ├── chessengine.dsp
│ ├── chessengine.dsw
│ ├── chessengine.ncb
│ ├── chessengine.opt
│ ├── chessengine.plg
│ ├── def.h
│ ├── engine.cpp
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── hash.cpp
│ ├── pipe.cpp
│ ├── pipe.h
│ ├── search.cpp
│ ├── ucci.cpp
│ └── ucci.h
├── 第12章 启发式搜索策略
│ ├── 12-1
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── 12-2
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── MoveArray.cpp
│ │ ├── MoveArray.h
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── 12-3
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── MoveArray.cpp
│ │ ├── MoveArray.h
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── 12-4
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── MoveArray.cpp
│ │ ├── MoveArray.h
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ └── 12-5
│ ├── Board.cpp
│ ├── Board.h
│ ├── chessengine.dsp
│ ├── chessengine.dsw
│ ├── chessengine.ncb
│ ├── chessengine.opt
│ ├── chessengine.plg
│ ├── def.h
│ ├── engine.cpp
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── hash.cpp
│ ├── MoveArray.cpp
│ ├── MoveArray.h
│ ├── pipe.cpp
│ ├── pipe.h
│ ├── search.cpp
│ ├── ucci.cpp
│ └── ucci.h
├── 第13章 更多搜索算法
│ ├── 13-1
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── MoveArray.cpp
│ │ ├── MoveArray.h
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ └── 13-2
│ ├── Board.cpp
│ ├── Board.h
│ ├── chessengine.dsp
│ ├── chessengine.dsw
│ ├── chessengine.ncb
│ ├── chessengine.opt
│ ├── chessengine.plg
│ ├── def.h
│ ├── engine.cpp
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── hash.cpp
│ ├── MoveArray.cpp
│ ├── MoveArray.h
│ ├── pipe.cpp
│ ├── pipe.h
│ ├── search.cpp
│ ├── ucci.cpp
│ └── ucci.h
├── 第3-6章
│ ├── 3-1.cpp
│ ├── 4-1.cpp
│ ├── 4-2.cpp
│ ├── 4-3.cpp
│ ├── 4-4.cpp
│ ├── 5-1.cpp
│ ├── 5-2.cpp
│ ├── 5-3.cpp
│ ├── 5-4.cpp
│ ├── 6-0.cpp
│ ├── 6-1-2.cpp
│ ├── 6-1.cpp
│ ├── 6-2-2.cpp
│ ├── 6-2-3.cpp
│ ├── 6-2.cpp
│ ├── 6-3-2.cpp
│ ├── 6-3.cpp
│ ├── output2.txt
│ ├── output3.txt
│ ├── output.txt
│ ├── 象棋程序.dsp
│ ├── 象棋程序.dsw
│ ├── 象棋程序.ncb
│ ├── 象棋程序.opt
│ └── 象棋程序.plg
├── 第7章 人机对弈
│ ├── Board.cpp
│ ├── Board.h
│ ├── def.h
│ ├── DlgBoard.cpp
│ ├── duan.aps
│ ├── duan.clw
│ ├── duan.cpp
│ ├── duanDlg.cpp
│ ├── duanDlg.h
│ ├── duan.dsp
│ ├── duan.dsw
│ ├── duan.h
│ ├── duan.ncb
│ ├── duan.opt
│ ├── duan.plg
│ ├── duan.rc
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── ReadMe.txt
│ ├── res
│ │ ├── chessboard.bmp
│ │ ├── chessman.bmp
│ │ ├── duan2.ico
│ │ ├── duan.ico
│ │ ├── duan.rc2
│ │ ├── Thumbs.db
│ │ └── vssver.scc
│ ├── resource.h
│ ├── search.cpp
│ ├── StdAfx.cpp
│ └── StdAfx.h
├── 第8章 博弈引擎
│ ├── a
│ │ ├── 1.cpp
│ │ ├── a.dsp
│ │ ├── a.dsw
│ │ ├── a.ncb
│ │ ├── a.opt
│ │ ├── a.plg
│ │ └── Debug
│ │ ├── 1.obj
│ │ ├── a.exe
│ │ ├── a.ilk
│ │ ├── a.pch
│ │ ├── a.pdb
│ │ ├── vc60.idb
│ │ └── vc60.pdb
│ ├── b
│ │ ├── 2.cpp
│ │ ├── b.dsp
│ │ ├── b.dsw
│ │ ├── b.ncb
│ │ ├── b.opt
│ │ ├── b.plg
│ │ └── Debug
│ │ ├── 2.obj
│ │ ├── b.exe
│ │ ├── b.ilk
│ │ ├── b.pch
│ │ ├── b.pdb
│ │ ├── vc60.idb
│ │ └── vc60.pdb
│ ├── Board.cpp
│ ├── Board.h
│ ├── chessengine.dsp
│ ├── chessengine.dsw
│ ├── chessengine.ncb
│ ├── chessengine.opt
│ ├── chessengine.plg
│ ├── Debug
│ │ ├── Board.obj
│ │ ├── chessengine.exe
│ │ ├── chessengine.ilk
│ │ ├── chessengine.pch
│ │ ├── chessengine.pdb
│ │ ├── engine.obj
│ │ ├── evaluate.obj
│ │ ├── genmoves.obj
│ │ ├── pipe.obj
│ │ ├── search.obj
│ │ ├── ucci.obj
│ │ ├── vc60.idb
│ │ └── vc60.pdb
│ ├── def.h
│ ├── engine.cpp
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── pipe.cpp
│ ├── pipe.h
│ ├── search.cpp
│ ├── ucci.cpp
│ └── ucci.h
├── 第9章 置换表
│ ├── chessengine9-1
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── chessengine9-2
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── chessengine9-3
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── chessengine9-4
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── chessengine9-5
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ ├── chessengine9-6
│ │ ├── Board.cpp
│ │ ├── Board.h
│ │ ├── chessengine.dsp
│ │ ├── chessengine.dsw
│ │ ├── chessengine.ncb
│ │ ├── chessengine.opt
│ │ ├── chessengine.plg
│ │ ├── def.h
│ │ ├── engine.cpp
│ │ ├── evaluate.cpp
│ │ ├── genmoves.cpp
│ │ ├── hash.cpp
│ │ ├── pipe.cpp
│ │ ├── pipe.h
│ │ ├── search.cpp
│ │ ├── ucci.cpp
│ │ └── ucci.h
│ └── chessengine9-7
│ ├── Board.cpp
│ ├── Board.h
│ ├── chessengine.dsp
│ ├── chessengine.dsw
│ ├── chessengine.ncb
│ ├── chessengine.opt
│ ├── chessengine.plg
│ ├── def.h
│ ├── engine.cpp
│ ├── evaluate.cpp
│ ├── genmoves.cpp
│ ├── hash.cpp
│ ├── pipe.cpp
│ ├── pipe.h
│ ├── search.cpp
│ ├── ucci.cpp
│ └── ucci.h
└── 附件:界面程序
├── BOOK.DAT
├── duan.exe
├── logo.swf
├── mfc42.dll
├── msvcrt.dll
├── sixteen1.07.exe
├── sound
│ └── startmen.wav
├── winmm.dll
└── 使用说明.txt
36 directories, 443 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论