资源简介
#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.em
文件 468 2008-09-25 13:16 PlantomGo幻影围棋源程序\PlantomGo\Debug\PlantomGo.exe.em
文件 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个文件信息
相关资源
- 2018全国大学生计算机博弈大赛 棋谱
- scratch3.0 源程序(说相声)
- 改进的BP神经网络算法
- 光立方制作(原理图 源程序 LED搭接方
- FM1702调试源程序
- 智能寻迹机器人源程序及pcb图
- 单片机数字时钟包附电路图 源程序
- C 纸牌游戏——21点
- 16X16点阵程序(附仿真图和源程序)
- VC 围棋源代码
- 基于ARM蓝牙传输源程序
- C读DXF源程序及AutoCAD中的DXF参考文件
- 路由选择算法源程序(最短路径算法
- 毕业设计:网络围棋对弈
- 数字电压表(源程序 protues仿真)
- 源程序量统计小工具
- delphi rfid 读写卡读卡器/写卡器源程序
- 全屏的俄罗斯方块源程序
- 获取外网IP地址小工具,VC 简单源程
- 无刷电机控制源程序
- 指纹识别源程序与指纹库
- 暗通道去霾处理源程序
- 四路抢答器源程序+Pro7仿真文件
- OpenGL绘制可运动自行车源程序.zip
- 光滑粒子流体动力学SPH源程序
- 源程序阅读与调试课程设计报告--学生
- delphi下用Lockbox中rsa进行加解密的范例
- 2.5分频VHDL源程序
- 光立方3D8 2803+573.源程序 HEX C 仿真电路
- 8位二进制计数器vhdl源程序及原理图
评论
共有 条评论