文件名称:FPoint
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小: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/FPoint/Debug/FPoint.exe
五子棋/FPoint/FPoint/Debug/FPoint.exe.embed.manifest
五子棋/FPoint/FPoint/Debug/FPoint.exe.embed.manifest.res
五子棋/FPoint/FPoint/Debug/FPoint.exe.intermediate.manifest
五子棋/FPoint/FPoint/Debug/FPoint.ilk
五子棋/FPoint/FPoint/Debug/FPoint.obj
五子棋/FPoint/FPoint/Debug/FPoint.pch
五子棋/FPoint/FPoint/Debug/FPoint.pdb
五子棋/FPoint/FPoint/Debug/FPoint.res
五子棋/FPoint/FPoint/Debug/FPointDlg.obj
五子棋/FPoint/FPoint/Debug/mt.dep
五子棋/FPoint/FPoint/Debug/stdafx.obj
五子棋/FPoint/FPoint/Debug/vc80.idb
五子棋/FPoint/FPoint/Debug/vc80.pdb
五子棋/FPoint/FPoint/FPoint.cpp
五子棋/FPoint/FPoint/FPoint.h
五子棋/FPoint/FPoint/FPoint.rc
五子棋/FPoint/FPoint/FPoint.suo
五子棋/FPoint/FPoint/FPoint.vcproj
五子棋/FPoint/FPoint/FPointDlg.cpp
五子棋/FPoint/FPoint/FPointDlg.h
五子棋/FPoint/FPoint/res/FPoint.ico
五子棋/FPoint/FPoint/res/FPoint.rc2
五子棋/FPoint/FPoint/resource.h
五子棋/FPoint/FPoint/stdafx.cpp
五子棋/FPoint/FPoint/stdafx.h
五子棋/FPoint/FPoint/五子棋思路解析.txt
五子棋/FPoint/FPoint/Debug
五子棋/FPoint/FPoint/res
五子棋/FPoint/FPoint
五子棋/FPoint
五子棋
五子棋/FPoint/FPoint/Debug/FPoint.exe
五子棋/FPoint/FPoint/Debug/FPoint.exe.embed.manifest
五子棋/FPoint/FPoint/Debug/FPoint.exe.embed.manifest.res
五子棋/FPoint/FPoint/Debug/FPoint.exe.intermediate.manifest
五子棋/FPoint/FPoint/Debug/FPoint.ilk
五子棋/FPoint/FPoint/Debug/FPoint.obj
五子棋/FPoint/FPoint/Debug/FPoint.pch
五子棋/FPoint/FPoint/Debug/FPoint.pdb
五子棋/FPoint/FPoint/Debug/FPoint.res
五子棋/FPoint/FPoint/Debug/FPointDlg.obj
五子棋/FPoint/FPoint/Debug/mt.dep
五子棋/FPoint/FPoint/Debug/stdafx.obj
五子棋/FPoint/FPoint/Debug/vc80.idb
五子棋/FPoint/FPoint/Debug/vc80.pdb
五子棋/FPoint/FPoint/FPoint.cpp
五子棋/FPoint/FPoint/FPoint.h
五子棋/FPoint/FPoint/FPoint.rc
五子棋/FPoint/FPoint/FPoint.suo
五子棋/FPoint/FPoint/FPoint.vcproj
五子棋/FPoint/FPoint/FPointDlg.cpp
五子棋/FPoint/FPoint/FPointDlg.h
五子棋/FPoint/FPoint/res/FPoint.ico
五子棋/FPoint/FPoint/res/FPoint.rc2
五子棋/FPoint/FPoint/resource.h
五子棋/FPoint/FPoint/stdafx.cpp
五子棋/FPoint/FPoint/stdafx.h
五子棋/FPoint/FPoint/五子棋思路解析.txt
五子棋/FPoint/FPoint/Debug
五子棋/FPoint/FPoint/res
五子棋/FPoint/FPoint
五子棋/FPoint
五子棋
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.