• 大小: 2.22MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-15
  • 语言: 其他
  • 标签: 源程序  围棋  

资源简介

#define GRID_NUM 11 //棋盘行数,其中1..9为棋的坐标,其他为边界 #define GRID_COUNT 81 //可放棋子总数 #define BLACK 1 //黑棋 黑白棋转换时,可对求异或 #define WHITE 2 //白棋 #define BORDER 3 //边界 #define NOSTONE 0 //空子无棋 #define MCMAX 10000 //蒙特卡洛次数 typedef struct _stoneposition { char x; char y; int score; }SMove; //招法 char board[GRID_NUM][GRID_NUM]; //棋盘表示 char chessColor; //自己棋的颜色 SMove bestMove; //最优棋

资源截图

代码片段和文件信息

#ifndef	_DEFINE_CPP_
#define _DEFINE_CPP_

#include “Define.h“


char board[GRID_NUM][GRID_NUM]; //棋盘表示
char board_know[GRID_NUM][GRID_NUM]; //试探棋盘
int mark[GRID_NUM][GRID_NUM]; //MonteCarlo分数棋盘
char chessColor; //自己棋的颜色
SMove bestMove ; //最优棋

int boardbaseScore[GRID_NUM][GRID_NUM] =  //棋盘的基础分数
{
00000000000
01111111110
01222222210
01233333210
01234443210
01234543210
01234443210
01233333210
01222222210
01111111110
00000000000
};

SPlayer player[3];

#endif

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      61440  2008-10-02 18:16  PlantomGo幻影围棋源程序\debug\PlantomGo.exe

     文件     360560  2008-10-02 18:16  PlantomGo幻影围棋源程序\debug\PlantomGo.ilk

     文件     453632  2008-10-02 18:16  PlantomGo幻影围棋源程序\debug\PlantomGo.pdb

     文件       8046  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\BuildLog.htm

     文件      19506  2008-10-02 17:57  PlantomGo幻影围棋源程序\PlantomGo\Debug\Define.obj

     文件      20444  2008-10-02 17:57  PlantomGo幻影围棋源程序\PlantomGo\Debug\Engine.obj

     文件      40752  2008-10-02 17:57  PlantomGo幻影围棋源程序\PlantomGo\Debug\Main.obj

     文件      43757  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\MonteCarlo.obj

     文件         67  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\mt.dep

     文件        403  2008-09-25 13:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\PlantomGo.exe.embed.manifest

     文件        468  2008-09-25 13:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\PlantomGo.exe.embed.manifest.res

     文件        385  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\PlantomGo.exe.intermediate.manifest

     文件      34600  2008-10-02 17:57  PlantomGo幻影围棋源程序\PlantomGo\Debug\SetScore.obj

     文件     396288  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\vc80.idb

     文件      94208  2008-10-02 18:16  PlantomGo幻影围棋源程序\PlantomGo\Debug\vc80.pdb

     文件        671  2008-10-02 17:21  PlantomGo幻影围棋源程序\PlantomGo\Define.cpp

     文件       1198  2008-10-02 18:32  PlantomGo幻影围棋源程序\PlantomGo\Define.h

     文件        317  2008-10-02 16:16  PlantomGo幻影围棋源程序\PlantomGo\Engine.cpp

     文件        395  2008-10-01 12:20  PlantomGo幻影围棋源程序\PlantomGo\Engine.h

     文件       8740  2008-10-02 18:33  PlantomGo幻影围棋源程序\PlantomGo\Main.cpp

     文件       8636  2008-10-02 21:46  PlantomGo幻影围棋源程序\PlantomGo\MonteCarlo.cpp

     文件       4346  2008-10-02 10:53  PlantomGo幻影围棋源程序\PlantomGo\PlantomGo.vcproj

     文件       1409  2008-09-06 17:00  PlantomGo幻影围棋源程序\PlantomGo\PlantomGo.vcproj.ARTHUR.Arthur.user

     文件       1403  2008-10-02 22:00  PlantomGo幻影围棋源程序\PlantomGo\PlantomGo.vcproj.SSC.sschu.user

     文件       7856  2008-10-02 21:46  PlantomGo幻影围棋源程序\PlantomGo\Release\BuildLog.htm

     文件      40560  2008-10-02 18:32  PlantomGo幻影围棋源程序\PlantomGo\Release\Define.obj

     文件      40658  2008-10-02 18:32  PlantomGo幻影围棋源程序\PlantomGo\Release\Engine.obj

     文件      56737  2008-10-02 18:33  PlantomGo幻影围棋源程序\PlantomGo\Release\Main.obj

     文件      58806  2008-10-02 21:46  PlantomGo幻影围棋源程序\PlantomGo\Release\MonteCarlo.obj

     文件         67  2008-10-02 21:46  PlantomGo幻影围棋源程序\PlantomGo\Release\mt.dep

............此处省略21个文件信息

评论

共有 条评论