登录
首页 » Java » game_five-in-a-row

game_five-in-a-row

于 2013-11-10 发布 文件大小:253KB
0 114
下载积分: 1 下载次数: 1

代码说明:

  游戏五子棋,简单实现了两人对战的模式。可以建立连接也可以断开连接。游戏结束会自动给出输赢结果(Playing backgammon, a simple realization two players mode. You can establish a connection can be disconnected. End of the game will automatically give winners and losers)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vb_source
    VB版纸牌源码(VB source code version of Solitaire)
    2008-07-02 22:37:12下载
    积分:1
  • card
    纸牌洗牌翻拍程序,实现对纸牌的洗牌,翻牌等功能,逐步演示,形象直观(Cards shuffle licensing procedures to achieve the cards of the reshuffle, flop and other functions, step by step demonstration, the visual image)
    2016-09-28 13:05:10下载
    积分: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
  • pairs
    qt小游戏,翻扑克牌,每次最多翻两张,两个牌相同就移除,直到所有牌都移除完。考记忆力(qt games, turned poker, each up to turn two, two identical cards to remove, until all the cards are removed finish. Memory test)
    2013-06-03 09:09:04下载
    积分:1
  • flychess
    用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。(Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.)
    2021-04-24 14:18:47下载
    积分: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
  • 21Point
    21点游戏,电脑固定为3张牌,玩家的发牌为两张,玩家可以继续要牌,谁点数大并低于21点则谁胜利。(21game, computer fixed three brand licensing for two players, the players can continue to draw cards, who points to the large and less than 21 points, who victory.)
    2013-02-21 18:32:40下载
    积分:1
  • guojimajiang
    网狐6603国际麻将,视频麻将,完美无错,值得拥有(Fox 6603 International Mahjong, Mahjong video, perfect no mistake, worth having)
    2013-11-28 13:56:34下载
    积分:1
  • VSCCP
    Very Simple Chinese Chess Program
    2011-10-14 00:17:02下载
    积分:1
  • ChinaChess
    中国象棋打谱程序,用java编写吗,很适合java初学者的学习(Chinese Chess playing spectrum program, prepared using java, very suitable for java beginners learning)
    2012-08-24 14:41:52下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载