========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Chess
========================================================================
AppWizard has created this Chess application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Chess application.
Chess.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Chess.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CChessApp application class.
Chess.cpp
This is the main application source file that contains the application
class CChessApp.
Chess.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Chess.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Chess.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Chess.rc.
res\Chess.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
ChessDlg.h, ChessDlg.cpp - the dialog
These files contain your CChessDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in Chess.rc, which can be edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Chess.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
本人机对弈程序采用了多种搜索算法.以下是本程序主要的类说明: 1.CEveluation类:估值类,对给定的棋盘进行估值. 2.CMoveGenerator类:走法产生器,对给定的棋盘局面搜索出所有可能的走法. 3.CSearchEngine类:搜索引擎基类. 4.CNegaMaxEngine类:负极大值法搜索引擎. 5.CAlphaBetaEngine类:采用了Alpha-Beta剪枝技术的搜索引擎. 6.CFAlphaBetaEngine类:fail-softalpha-beta搜索引擎. 7.CHistoryHeuristic类:历史启发类. 本程序还具有悔棋,还原功能,还可以记录走法.
资源推荐
资源详情
资源评论
收起资源包目录
中国象棋.rar (86个子文件)
中国象棋
源码说明.txt 1KB
SourceCode
Eveluation.h 2KB
Chess.opt 65KB
Eveluation.cpp 20KB
NegaMaxEngine.h 747B
Alphabeta_HH.cpp 2KB
NegaScout_TT_HH.h 917B
MTD_fEngine.cpp 3KB
SearchEngine.cpp 2KB
CoolButton.cpp 6KB
TranspositionTable.cpp 4KB
Alphabeta_HH.h 826B
MemDC.h 681B
res
bitmap1-1.bmp 53KB
icon2.ico 766B
cut.ico 766B
Help GID.ico 4KB
XPTHEME.BIN 646B
ok.bmp 5KB
icon1.ico 2KB
icon3.ico 766B
bmp00001.bmp 76KB
cantgo.cur 766B
Chess.ico 1KB
Devior.smf 31KB
hand.cur 766B
新建图标(2).ico 3KB
cancle.bmp 5KB
box1.ico 766B
bitmap1.bmp 9KB
ico00001.ico 766B
Chess.rc2 397B
BOX2.ico 766B
IDAlphabetaEngine.cpp 3KB
AspirationSearch.cpp 1KB
IDAlphabetaEngine.h 793B
GradientProgressCtrl.cpp 4KB
HelpDlg.h 1KB
MemDC.cpp 1KB
ChessDlg.cpp 46KB
棋盘倒.bmp 630KB
Chess.rc 10KB
SearchEngine.h 2KB
HistoryHeuristic.h 1KB
ChessDlg.h 5KB
XPButton.h 2KB
AlphaBeta_TTEngine.h 840B
NegaMaxEngine.cpp 2KB
PVS_Engine.h 722B
CoolButton.h 1KB
MoveGenerator.cpp 18KB
FAlphaBetaEngine.h 818B
Chess.plg 1KB
FAlphaBetaEngine.cpp 2KB
Define.h 1KB
AlphaBetaEngine.cpp 2KB
AlphaBeta_TTEngine.cpp 3KB
PVS_Engine.cpp 2KB
TranspositionTable.h 2KB
StdAfx.cpp 207B
Chess.cpp 2KB
resource.h 4KB
AspirationSearch.h 704B
SetDlg.h 3KB
棋盘正.bmp 939KB
HistoryHeuristic.cpp 3KB
MoveGenerator.h 2KB
HelpDlg.cpp 2KB
StdAfx.h 1KB
Chess.aps 149KB
GradientProgressCtrl.h 2KB
NegaScout_TT_HH.cpp 3KB
调试.txt 525B
Chess.ncb 401KB
XPButton.cpp 6KB
AlphaBetaEngine.h 819B
Chess.dsw 535B
Chess.h 1KB
MTD_fEngine.h 979B
Chess.dsp 8KB
ReadMe.txt 3KB
SetDlg.cpp 9KB
chess.jpg 43KB
残局
八阵图.cm 290B
乌龙摆尾.cm 290B
Chess.exe 200KB
共 86 条
- 1
资源评论
寒泊
- 粉丝: 75
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功