文件名称:FPoint
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4.5mb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.生成mfc基于对话框的模块。
2.绘制表格,获取对话框的宽度和高度后画线等分。在onpaint函数内操作的,画棋子也是在其中操作的。
3.根据表格的交界和数组对应,就相当于一个点看作一个元素。同时每个点对应的坐标值是可以算出来的,就是等分原理。比如总长100,坐标就是10,20,。。
4.事件映射数组,有一个双击事件,用来获取鼠标的光标值,这个值和网格点的哪个值最接近就算是哪个点被点击了。
5被点击后数组用1,2标志。onpaint里话棋子,如果为1,2就画两种不同的子。
6,算法,就是看数组中子的情况。比如有五个连续的1,那么就提升我赢了。具体判断可以用一个点一个点的if。
7,是倒推的,如果发现电脑自己有4子,就把盘边的子值设置为2.否则发现自己有3子,且可胜也置2.没中情况都写成函数。具体可见程序。-1. Generate mfc dialog based module.
2. Drawing table, get the width and height of the dialog box after drawing a line decile. Operating within the function in onpaint painting pieces in which the operation is.
3. According to the junction and the array of forms corresponding to the equivalent of a point as an element. While the corresponding coordinates of each point can be counted out, is the attainment theory. Such as total length of 100, the coordinates are 10,20,. .
4. Incident mapping array, a double-click the event, to get the mouse cursor value, the value and the value of the nearest grid point which even the point which was clicked.
5 After the array was clicked with the 1,2 mark. onpaint pieces in it, if it is 1,2 on two different sub-paint.
6, the algorithm is to see an array of neutron situation. For example, five consecutive one, then upgrade and I won. Determine a specific point can be a point of if.
7, is pushed down, and if found to computer they have four c
2.绘制表格,获取对话框的宽度和高度后画线等分。在onpaint函数内操作的,画棋子也是在其中操作的。
3.根据表格的交界和数组对应,就相当于一个点看作一个元素。同时每个点对应的坐标值是可以算出来的,就是等分原理。比如总长100,坐标就是10,20,。。
4.事件映射数组,有一个双击事件,用来获取鼠标的光标值,这个值和网格点的哪个值最接近就算是哪个点被点击了。
5被点击后数组用1,2标志。onpaint里话棋子,如果为1,2就画两种不同的子。
6,算法,就是看数组中子的情况。比如有五个连续的1,那么就提升我赢了。具体判断可以用一个点一个点的if。
7,是倒推的,如果发现电脑自己有4子,就把盘边的子值设置为2.否则发现自己有3子,且可胜也置2.没中情况都写成函数。具体可见程序。-1. Generate mfc dialog based module.
2. Drawing table, get the width and height of the dialog box after drawing a line decile. Operating within the function in onpaint painting pieces in which the operation is.
3. According to the junction and the array of forms corresponding to the equivalent of a point as an element. While the corresponding coordinates of each point can be counted out, is the attainment theory. Such as total length of 100, the coordinates are 10,20,. .
4. Incident mapping array, a double-click the event, to get the mouse cursor value, the value and the value of the nearest grid point which even the point which was clicked.
5 After the array was clicked with the 1,2 mark. onpaint pieces in it, if it is 1,2 on two different sub-paint.
6, the algorithm is to see an array of neutron situation. For example, five consecutive one, then upgrade and I won. Determine a specific point can be a point of if.
7, is pushed down, and if found to computer they have four c
(系统自动生成,下载前可以参看下载内容)
下载文件列表
五子棋\FPoint\FPoint\Debug\BuildLog.htm
......\......\......\.....\FPoint.exe
......\......\......\.....\FPoint.exe.embed.manifest
......\......\......\.....\FPoint.exe.embed.manifest.res
......\......\......\.....\FPoint.exe.intermediate.manifest
......\......\......\.....\FPoint.ilk
......\......\......\.....\FPoint.obj
......\......\......\.....\FPoint.pch
......\......\......\.....\FPoint.pdb
......\......\......\.....\FPoint.res
......\......\......\.....\FPointDlg.obj
......\......\......\.....\mt.dep
......\......\......\.....\stdafx.obj
......\......\......\.....\vc80.idb
......\......\......\.....\vc80.pdb
......\......\......\FPoint.cpp
......\......\......\FPoint.h
......\......\......\FPoint.rc
......\......\......\FPoint.suo
......\......\......\FPoint.vcproj
......\......\......\FPointDlg.cpp
......\......\......\FPointDlg.h
......\......\......\res\FPoint.ico
......\......\......\...\FPoint.rc2
......\......\......\resource.h
......\......\......\stdafx.cpp
......\......\......\stdafx.h
......\......\......\五子棋思路解析.txt
......\......\......\Debug
......\......\......\res
......\......\FPoint
......\FPoint
五子棋
......\......\......\.....\FPoint.exe
......\......\......\.....\FPoint.exe.embed.manifest
......\......\......\.....\FPoint.exe.embed.manifest.res
......\......\......\.....\FPoint.exe.intermediate.manifest
......\......\......\.....\FPoint.ilk
......\......\......\.....\FPoint.obj
......\......\......\.....\FPoint.pch
......\......\......\.....\FPoint.pdb
......\......\......\.....\FPoint.res
......\......\......\.....\FPointDlg.obj
......\......\......\.....\mt.dep
......\......\......\.....\stdafx.obj
......\......\......\.....\vc80.idb
......\......\......\.....\vc80.pdb
......\......\......\FPoint.cpp
......\......\......\FPoint.h
......\......\......\FPoint.rc
......\......\......\FPoint.suo
......\......\......\FPoint.vcproj
......\......\......\FPointDlg.cpp
......\......\......\FPointDlg.h
......\......\......\res\FPoint.ico
......\......\......\...\FPoint.rc2
......\......\......\resource.h
......\......\......\stdafx.cpp
......\......\......\stdafx.h
......\......\......\五子棋思路解析.txt
......\......\......\Debug
......\......\......\res
......\......\FPoint
......\FPoint
五子棋