登录

最新会员 最新下载

成为了本站VIP会员

04月26日 23:14

成为了本站VIP会员

04月25日 21:33

成为了本站VIP会员

04月23日 14:46

成为了本站VIP会员

04月18日 20:09

成为了本站VIP会员

04月18日 18:37

成为了本站VIP会员

04月18日 18:25
已选条件
  1. 编程语言:DOS
  2. 代码类别:游戏
  3. 发布时间:不限
全部撤销
编程语言 更多 收起
代码类别 更多 收起
发布时间
更多选项

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)

14
下载
203
浏览
2021-01-15发布

2. wuziqi_wcf

  这是一个基于WCF的五子棋软件,是我在公司实习的时候,学习WCF时,做的一个案例,仅供WCF的初学者参考。(This is a WCF-based backgammon software, is when my internship, learning WCF, made ​ ​ a case for WCF reference for beginners.)

2
下载
138
浏览
2020-07-03发布

3. 2004031211123811497

  台湾人写的五子棋源码,很早以前收集的,看了几天才懂!(Taiwanese wrote renju source, the collection of long ago, after reading a few days can understand!)

1
下载
84
浏览
2016-04-21发布

4. ShowRubyCube

  魔方,供大家学习交流!里面有详细的注解,方便学习使用!(Rubik s cube, for everybody to learn communication!There is a detailed comments, convenient and learn to use!)

1
下载
142
浏览
2016-02-29发布

5. SDL03

  介绍Simple DirectMedia Layer 的课件,第3讲,对于跨平台游戏开发,具有较好的参考价值。(ppt for , Simple DirectMedia Layer,IT s a good reference for development under different operation system ,3)

3
下载
72
浏览
2014-08-13发布

6. final

  用TC写的撞球游戏,有保存功能,排行榜功能和单双人模式,dos下运行(TC wrote billiard games, save function, ranking function and single and double player mode, dos run)

2
下载
158
浏览
2013-10-27发布

7. final

  用TC写的撞球游戏,有保存功能,排行榜功能和单双人模式,dos下运行(TC wrote billiard games, save function, ranking function and single and double player mode, dos run)

2
下载
150
浏览
2013-10-27发布

8. clock

  贪吃蛇 通过汇编语言来做贪吃蛇 其中有这各种不同的调用(Snake Snake by which assembly language to do a variety of calls that)

2
下载
121
浏览
2011-05-29发布

9. Tetris-eluosifangkuai

  俄罗斯方块汇编语言编写俄罗斯方块汇编语言编写(Compilation of the Russian language box)

5
下载
88
浏览
2009-05-30发布