-
Chess_Easy
基于Visual C++实现的局域网象棋游戏,Socket通信,多线程。(design the chess game by use Visual C++ , Socket technology, Mutil Thread.)
- 2013-09-17 19:04:26下载
- 积分:1
-
CardGame
简单的纸牌游戏,可作为游戏入门实例,是坂本千寻书本的源码。(A simple card game can be used as an instance of the game started, is the source code for Sakamoto Chihiro books.)
- 2009-11-15 14:59:30下载
- 积分:1
-
Russia1.2
俄罗斯方块,加了图片!
一样的俄罗斯方块,
不一样的感觉(Russian box, add the pictures! Like the Russian box, and not the same feeling)
- 2007-03-07 16:57:08下载
- 积分:1
-
BcbChess
C++Builder程序设计范例:中国象棋 / 胡达著 出版发行 北京 : 清华大学出版社, 2002
的附带光盘,用c++Builder实现一个简单的象棋程序
(C++ Builder Program Design Example: Chinese Chess/Huda published a Beijing: Tsinghua University Press, 2002 spin-off CD-ROM, with c++ Builder realize a simple chess program)
- 2008-04-07 23:05:11下载
- 积分:1
-
vc五子棋网络版本1.0
网络五子棋系统,用vc实现.学习vc对话框编程,网络编程。(331 network system, using vc achieve. Learning vc dialog programming, network programming.)
- 2005-06-16 12:03:04下载
- 积分:1
-
wzq
近来随着计算机的快速发展,各种棋类游戏被纷纷请进了电脑,使得那些喜爱下棋,又常常苦于没有对手的棋迷们能随时过足棋瘾。而且这类软件个个水平颇高,大有与人脑分庭抗礼之势。其中战胜过国际象棋世界冠军-卡斯帕罗夫的“深蓝”便是最具说服力的代表;其它像围棋的“手淡”、象棋的“将族”等也以其优秀的人工智能深受棋迷喜爱;而我们今天将向大家介绍的是五子棋的算法。
当我们与电脑对战时,您知道这些软件是怎样象人脑一样进行思考的吗?前不久我曾编写过一个五子棋的游戏,在这里就以此为例和大家一起探讨探讨。
总的来说(我们假定您熟悉五子棋的基本规则),要让电脑知道该在哪一点下子,就要根据盘面的形势,为每一可能落子的点计算其重要程度,也就是当这子落下后会形成什么棋型(如:“冲四”、“活三”等),然后通览全盘选出最重要的一点,这便是最基本的算法。当然,仅靠当前盘面进行判断是远远不够的,这样下棋很容易掉进玩家设下的陷阱,因为它没有考虑以后的变化。所以在此基础上我们加入递归调用,即:在电脑中预测出今后几步的各种走法,以便作出最佳选择,这也是我们下棋时常说的“想了几步”。如此一来您的程序便具有一定的水平了。
(With the recent rapid development of computers, various board games have been invited to the computer, making those who love playing chess, and usually do not have the opponent s chess enthusiast can always have adequate chess addiction. And all levels of this type of software is high, go a long way with the potential to rival the human brain. Had to overcome one of the World Chess Championship- Garry Kasparov s "Deep Blue" is the most convincing representatives other like Go s "short hand" chess "will be ethnic," also for its excellent artificial intelligence chess enthusiast popular favorite and we will introduce the U.S. are Gobang algorithms.
When we and the computer during wartime, you know how the software is to consider brain-like Elephant Man s吗? Not long ago, I have prepared a Gobang games here at this example and explore the U.S. to explore.
In general (we assume that you are familiar with the basic rules Gobang), let the computer know at what point Now, it is necess)
- 2021-01-15 14:48:46下载
- 积分:1
-
sdk_dfj
说明: 一个用SDK写的打飞机游戏
对学SDK很有帮助(an SDK with the aircraft was made to learn the game SDK helpful)
- 2006-03-29 22:17:14下载
- 积分:1
-
java-FiveChess
五子棋游戏
游戏开始要求:
输出一下棋盘,然后提示黑方和白方下子,玩家从
命令行输入:af,表示在af坐标落子,其中黑方的
子用@表示,白方子用O表示,每一方有一方落子,
则要重新输出棋盘的状态,程序还要求能判断某一方
获胜并终止程序。(Backgammon games started to demand: output about the board, and then prompted Black and White Now, players from the command line enter: af, af coordinates expressed in the Laozi, in which a child with @ Black said Bai Fangzi with O that each Lazi one one side, the state will have to re-output board, the program also required to determine the winning party and terminate the program.)
- 2011-06-04 22:52:10下载
- 积分:1
-
5636457457
VB语言写的台湾玩法的扑克牌游戏源代码。(Taiwan VB language play poker game source code.)
- 2013-08-06 08:52:17下载
- 积分:1
-
gobang-game
基于控制台的五子棋游戏,用easyX提供的图形接口进行编写,适合初学者,简单易懂,注释全面。注:安装图形库需要去EasyX官网下载“2012立冬版”,必须是这个版本,因为后来新的版本对有些函数做了调整,导致显示会有问题。(Console-based backgammon game, the graphical interface provided by easyX be written for beginners, easy to understand, comprehensive notes. Note: Installing graphics libraries need to EasyX official website to download " 2012 Lidong Edition" , must be this version, because the new version was made adjustments for some functions, resulting in the display there will be problems.)
- 2014-10-11 14:53:47下载
- 积分:1