文件名称:GobanGame
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:7.83kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
人机对战五子棋游戏源码
功能很简单,实现了五子棋的电脑对战,主要就是为了研究下电脑下棋算法,所以其他的功能和细节都没考虑,比如电脑最后的落子点我是直接用图片标示出来的,最好是另建一个线程来闪烁最后落子点,还有智能等级也是可以调节的,偏重于防守和进攻都可以修改代码中权值的设定来实现的,有兴趣的朋友可以在此基础上扩展一下。因为没有写谁先下棋的功能,可以模拟下电脑先下子,只需要你在边角上先下一子就可以了,相比下来,电脑先下的话,电脑赢的几率更大点,一共用到了三张图片,都在附件中。-The man-machine against renju game the source code
Function is very simple, realized renju against, the main thing is to computer next computer chess algorithm research, so other functions and details, such as computer didn t consider the points I was sitting directly with pictures of unmarked, had better be to another to build a thread to flicker, and intelligence last sitting point, also can adjust level focus on defense and offense can modify code to realize the weights of the set, had the interest friend can based on this extension once. Because there is no written who first chess under the function, can simulate computer first in only need you, quick snip corner under the first one child can, under the first compared down, computer, if the computer win more likely point, a common to three images, all in the enclosure.
功能很简单,实现了五子棋的电脑对战,主要就是为了研究下电脑下棋算法,所以其他的功能和细节都没考虑,比如电脑最后的落子点我是直接用图片标示出来的,最好是另建一个线程来闪烁最后落子点,还有智能等级也是可以调节的,偏重于防守和进攻都可以修改代码中权值的设定来实现的,有兴趣的朋友可以在此基础上扩展一下。因为没有写谁先下棋的功能,可以模拟下电脑先下子,只需要你在边角上先下一子就可以了,相比下来,电脑先下的话,电脑赢的几率更大点,一共用到了三张图片,都在附件中。-The man-machine against renju game the source code
Function is very simple, realized renju against, the main thing is to computer next computer chess algorithm research, so other functions and details, such as computer didn t consider the points I was sitting directly with pictures of unmarked, had better be to another to build a thread to flicker, and intelligence last sitting point, also can adjust level focus on defense and offense can modify code to realize the weights of the set, had the interest friend can based on this extension once. Because there is no written who first chess under the function, can simulate computer first in only need you, quick snip corner under the first one child can, under the first compared down, computer, if the computer win more likely point, a common to three images, all in the enclosure.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
black.gif
current.gif
white.gif
GobangGame.java
current.gif
white.gif
GobangGame.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.