Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 9-1 9-2
Search - 9-1 9-2 - List
自己写的中国象棋程序。2放对弈。
Date : 2010-10-21 Size : 23.39kb User : durianfu

游戏说明: 牌的大小顺序: 大王,小王,A,K,Q,j,9,8,7,6,5,4,3,2 出牌规则: 每次只能出一张牌,每局开始时随机由其中一人先出牌,以后由上一次赢的玩家出牌。首家可以出任意一张牌。首家出牌后,下家所出的牌的花色要与首家的相同,大小不限。如确实没有花色相同的牌,则可以出其它的牌。 胜负判定: 当每人都出了一张牌后,如果花色相同,则比较两张牌的大小,牌大的赢.如果花色不同,则先出牌的赢。最后经过统计赢的次数最多的 玩家最终赢得比赛。 The rules is following: 1) The Cards RANK (big to small) is: A K Q J 10 9 8 7 6 5 4 3 2 2) Once only can play one Card,if the suit is same and the Rank is big,they win or lost if you no the suit ,you must play any card but your s always small, 3) Now i think you know the rules ! Goog Luck ! printf("Please choice your cards Color: 0 means spade 1 means hearts 2 means diamonds 3 means clubs :\n") -games : licensing the order : King, Wang, A, K, Q, j, 9,8,7,6,5,4,3,2 out licensing rules : each time out only one card, at the beginning of each Board random by one of the first to be out later last won by the player card. The first to be sent to an arbitrary license. The first card, the home under the license by the first matched with the same open-size. If they really do not matched the same card, can produce other card. The results found : When everyone out of a license, if the same colors, compared to the size of two licenses, the licenses won. If the colors were different, first-out licensing of winning. After winning the final statistics of the number of players up to the final whistle. The rules is following : 1) The Cards RANK (big to small) is : A K Q J 10 9 8 7 6 5 4 3 2 2) Once
Date : 2025-12-25 Size : 5kb User : 冰雨

24dianyuxi 给4个正数从1-9 然后用4则运算计算结果该是24 -24dianyuxi to four the number from being 1-9 then four Operational results of the 24
Date : 2025-12-25 Size : 2kb User : 吴辽明

纸牌接龙游戏 把所有牌按花色依次从小到大( A 到 K )捡到右边的红色框中,全部捡完游戏结束。 主要操作有:鼠标单击和双击,没有拖动。 规则 1:方块接方块,草花接草花,从大到小的接(比如:方块8要接到方块9的下面) 规则 2:K 可以移到空的绿色框中 规则 3:最小的可以用双击自动移到红色框中 规则 4:点牌要点牌的上半截 规则 5:-poker word games all colors followed by licensing from small to large (A to K) picked up the right side of the red box, all seized End end of the game. Major operations are : mouse click and double-click, no drag. Rule 1 : Block access chunks and then Grasses and bedding plants, beginning with the largest access (for example : Block received eight to nine squares below) Rule 2 : K can be moved to the empty green box three rules : the smallest can double-click automatically moved to the red box Rule 4 : point license plates points the rules on sleeveless 5 :
Date : 2025-12-25 Size : 76kb User : 香烟

做的一个作业,是个猜数字的网络版本.支持人机于多人注意,运行需要indy 9-do an operation, is a ringing version of the network. Support crew to the attention of people, the operation of indy 9
Date : 2025-12-25 Size : 2.28mb User : 家开

棋牌类游戏客户端源代码,包括游戏大厅,基础库,八个游戏的全部代码. 游戏社区目前发布的游戏 : 升级(拖拉机 1-4付牌) 麻将 斗地主(1-2付牌) 中国象棋 多米诺骨牌(双6 双9) 军棋(2-4国) 牛牛 炒地皮 -Card game client source code, including the games hall, the basis of the Treasury, eight games all the code. Gaming community currently released games: upgrade (to pay licensing tractors 1-4)斗地主mahjong (1-2 pay licensing) China Chess domino (dual-six pairs of 9)军棋(2-4 countries) Niuniu land speculation
Date : 2025-12-25 Size : 12.51mb User : 赵飞

c++编写的21点-c++ prepared 9:00 p.m.
Date : 2025-12-25 Size : 2kb User : ss

3.“搭桥”游戏,游戏者2人,裁判。要求: (1)扑克为52张,其中花色是“黑桃、红心、草花、方块”,每种花色有A,2,3,4,5,6,7,8,9,10,J,Q,K; (2)扑克需要充分洗开,并派发到左右2方游戏者手中; (3)出牌时,每次交替从左右方取出一张放在已有“桥梁顶端”; 如果  新添牌的数字与原有桥梁上的数字相等否:是的,出牌方得到两个数字及之间相夹的所有牌,不是,换一方出牌;  当一方手上牌出净,游戏则结束;  结束时,提示“左右两方,谁家获胜”。 -3. " Bypass" game, 2 players, referees. Requirements: (1) poker for 52, in which color is " spade, red, flower, box," each color there are A, 2,3,4,5,6,7,8,9,10, J , Q, K (2) poker need to be fully opened to wash and distribute the game to about 2 square hands (3) a license, each time around the turn from a side out there on the " bridge to the top" if  additional number of licenses and the original bridge on whether the number of equivalent: Yes, a license to be similar between the two figures and all the license folder, not-for-one card  When one card out of the hands of the net , then the end of the game  At the end of the prompt " 左右两方, Whose victory."
Date : 2025-12-25 Size : 3kb User : AndrewCC

Silverlight 开发的围棋在线对弈程序 首先,介绍下围棋的简单规则:黑白双方交替落子,以占据棋盘上交叉点多者为胜。同时,双方为了争夺地盘,可能会发生“对杀”。一个棋子周围接触的空白交叉点数目叫做“气”,如果一个或多个棋子周围的气都被对方封死,气数=0,则这些棋子就称为死棋,需要从棋盘上移去。 1. 我们打算在界面的左侧显示棋盘,而右侧是功能区域。 2. 棋盘是由19道横线,19道竖线,以及9个星位的标志组成的。为了方便查找棋盘上的位置,我们在棋盘的四周可能需要加上坐标。目前我们先只在左侧和上方加上坐标。右边和下面的位置留在那里。 为了重用代码,并且开始开发围棋程序的界面控制功能,我们考虑用 MVC 架构来对前面的程序进行一点小的修改,这样方便扩展功能。 需要引入几个枚举,以及帮助类 创建了 Model 和 Controller 对象,然后在 Controller 的构造函数中,将执行 View 的初始化动作,并将生成的 UserControl 对象赋给 Application.Current.RootVisual,从而达到显示 View 的目的-Silverlight 开发的围棋在线对弈程序 首先,介绍下围棋的简单规则:黑白双方交替落子,以占据棋盘上交叉点多者为胜。同时,双方为了争夺地盘,可能会发生“对杀”。一个棋子周围接触的空白交叉点数目叫做“气”,如果一个或多个棋子周围的气都被对方封死,气数=0,则这些棋子就称为死棋,需要从棋盘上移去。 1. 我们打算在界面的左侧显示棋盘,而右侧是功能区域。 2. 棋盘是由19道横线,19道竖线,以及9个星位的标志组成的。为了方便查找棋盘上的位置,我们在棋盘的四周可能需要加上坐标。目前我们先只在左侧和上方加上坐标。右边和下面的位置留在那里。 为了重用代码,并且开始开发围棋程序的界面控制功能,我们考虑用 MVC 架构来对前面的程序进行一点小的修改,这样方便扩展功能。 需要引入几个枚举,以及帮助类 创建了 Model 和 Controller 对象,然后在 Controller 的构造函数中,将执行 View 的初始化动作,并将生成的 UserControl 对象赋给 Application.Current.RootVisual,从而达到显示 View 的目的
Date : 2025-12-25 Size : 164kb User : zy

中国象棋 本人机对弈程序采用了多种搜索算法.以下是本程序主要的类说明: 1.CEveluation类:估值类,对给定的棋盘进行估值. 2.CMoveGenerator类:走法产生器,对给定的棋盘局面搜索出所有可能的走法. 3.CSearchEngine类:搜索引擎基类. 4.CNegaMaxEngine类:负极大值法搜索引擎. 5.CAlphaBetaEngine类:采用了Alpha-Beta剪枝技术的搜索引擎. 6.CFAlphaBetaEngine类:fail-softalpha-beta搜索引擎. 7.CHistoryHeuristic类:历史启发类. 8.CAlphabeta_HHEngine类:带历史启发的Alpha-Beta搜索引擎. 9.CAspirationSearch类:渴望搜索引擎. 10.CIDAlphabetaEngine类:迭代深化搜索引擎. 11.CMTD_fEngine类:MTD(f)搜索引擎. 12.CTranspositionTable类:置换表. 13.CAlphaBeta_TTEngine类:加置换表的Alpha-Beta搜索引擎. 14.CPVS_Engine类:极小窗口搜索引擎. 15.CNegaScout_TT_HH类:使用了置换表和历史启发的NegaScout搜索引擎. 本程序还具有悔棋,还原功能,还可以记录走法. 注:本程序编写时参考了王小春的<<PC游戏编程(人机博弈)>>,他的书真是好.-Chinese chess game machine procedure I used a variety of search algorithm. The following are the major types of procedures that:
Date : 2025-12-25 Size : 147kb User : ccg

扑克牌自动发牌 :编程序,让计算机来猜测用户"暗记"的某张扑克牌:计算机从一副扑克牌(54张)中任意抽出27张,摆放在不同的三行上(每行9张),用户"暗记"某张纸牌,而后告诉计算机所"暗记"的那张纸牌处于哪一行中 之后计算机再两次将纸牌重新摆放,并让用户再回答两次相同的提问(那张纸牌在重新摆放后又处在哪一行上) 此时计算机会将用户所"暗记"的那张纸牌给挑出来.-Poker automatic licensing: programmed, so that the computer to guess user " markings" of a certain playing card: computer from a playing cards (54) in any out of 27, placed in three rows on a different (one per line 9), user " markings" of any one card, then tell the computer " markings" in what goes on in a line of cards twice after the computer and then re-placed cards, and allow users to answer the same question twice ( placed after the re-affiliation cards which are in line) time computer users will be " secret mark" and goes on to pick out cards.
Date : 2025-12-25 Size : 9kb User : jackchen

用C语言写的井字游戏(Tic-Tac),棋盘有9个空格,横竖及对角线有3个就获胜,没有GUI,完全的DOS程序。-Tic-Tac-written with C language games, the board has 9 spaces, horizontal, and diagonal has three to win, there is no GUI, complete DOS programs.
Date : 2025-12-25 Size : 1kb User : 时嘉赟

手机网络纸牌游戏(拱猪) 游戏的基本设计思想是根据游戏规则制定的,下面给出拱猪游戏的简单游戏规则: 牌的大小按下列顺序排列:A、K、Q、J、10、9、8、7、6、5、4、3、2。 1.出牌 (1)每轮只允许出一张牌。 (2)第一局游戏由得到梅花2的一方首先出牌,并且必须出梅花2。 (3)必须先出与首家相同花色的牌,无相同花色时方可用其它花色代替。 (4)最大方得到该轮的所有分牌,并获得本轮先出牌的资格。 2.分值计算 红桃:红桃为分牌。-Mobile Network card games (Gong Zhu) game basic design is established under the rules of the game, here are the simple rules of the game Gong Zhu game: card size in the following order: A, K, Q, J, 10,9 , 8,7,6,5,4,3,2. 1. The card (1) only allows a card each round. (2) The first games to get plum 2 by the first party to the cards, and must be a plum 2. (3) must be the same with the first color of the card, not when the same color be replaced with other colors. (4) the largest party by the round of all sub-license, and obtained the qualification round of the first play. 2. Score calculated Hearts: Hearts for the sub-license.
Date : 2025-12-25 Size : 924kb User : 亮亮

21点一般用到1-8副牌。庄家给每个玩家发两张牌,牌面朝上;给自己发两张牌,一张牌面朝上(叫明牌),一张牌面朝下(叫暗牌)。大家手中扑克点数的计算是:K、Q、J 和 10 牌都算作 10 点。 A 牌既可算作1 点也可算作11 点,由玩家自己决定。其余所有2 至9 牌均按其原面值计算。首先玩家开始要牌,如果玩家拿到的前两张牌是一张 A 和一张10点牌,就拥有黑杰克 (Blackjack);此时,如果庄家没有黑杰克,玩家就能赢得2倍的赌金(1赔2)。没有黑杰克的玩家可以继续拿牌,可以随意要多少张。目的是尽量往21点靠,靠得越近越好,最好就是21点了。在要牌的过程中,如果所有的牌加起来超过21点,玩家就输了——叫爆掉(Bust),游戏也就结束了。假如玩家没爆掉,又决定不再要牌了,这时庄家就把他的那张暗牌打开来。庄家根据自己的情况拿牌,一般到17点或17点以上不再拿牌,但也有可能15到16点甚至12到13点就不再拿牌或者18到19点继续拿牌。假如庄家爆掉了,那他就输了。假如他没爆掉,那么你就与他比点数大小,大为赢。一样的点数为平手,你可以把你的赌注拿回来。-21:00 General used the cards 1-8. The dealer to each player two cards, dealt face up to their own two cards issued, a card face up (called the winning numbers), a card face down (called the dark card). We calculated the hands of poker points: K, Q, J, and 10 cards are counted as 10 points. A card can count as 1 point can also be counted as 11 points by the players to decide. All the remaining 2 to 9 licenses according to its original par value. First, players began to license, if the player got the first two cards is a A and a 10-point card to a black Jack (Blackjack) this point, if the dealer does not Black Jack, the player will win 2 times Sweepstakes (1 lost 2). Black Jack, the player can not continue to take the card, feel free to how many. Our objective is to rely on to 21:00, close together as possible, the best is 21 o clock. To license the process, if all the cards add up to more than 21 points, players lose- call ringing off the hook (Bust), the game is over. If the players
Date : 2025-12-25 Size : 2kb User : 灏潍

VC6.0++做的五子棋程序源码,很精致-VC6.0++ program source code to do the backgammon is very delicate
Date : 2025-12-25 Size : 87kb User : 王强

本程序设计为人与人对弈,双方有一方五子连成一线即为赢。 设计一游戏变量(3到9之间),用来控制显示面板的大小,即用户可选择生成3×3到9×9的棋盘。-This design program for people, both parties have the right to link a gleam of them is either win. Design a game between the variables (3 to 9) to control panel display size, namely, users can choose generation 3 x 3 to 9 x 9 board.
Date : 2025-12-25 Size : 3kb User : 啊哈

题目描述 为了增强幼儿园小朋友的数数能力,小虎的老师给了一个家庭游戏作业。他让小虎拿一块空的围棋盘,随机地在一些方格中放些棋子(有黑白两种颜色),如果一个方格和它的上、下、左、右四个方格之一都有相同颜色的棋子,则认为两格子是相连通的。这期间,要求小虎不断统计共有多少个连通块。 如下图是一个5×9的棋盘,其中"."表示空格,"*"表示黑棋子,"@"表示白棋子。则有4块连通的棋子块。 ......... ..**..@.. .**@@.@@. ..*@..*.. ......... 哥哥大虎一边看一边想,如果棋盘是N×N的,共放了M个棋子,如何用计算机解决这个问题呢? 输入要求 第1行两个整数:N,M(1≤N≤500,1≤M≤N×N)。 接下来有M行,每行三个正整数:C,X,Y(0≤C≤1,1≤X,Y≤N),分别表示依次放入棋子的颜色(0表示白色,1表示黑色)、要放入格子的横坐标和格子的纵坐标。 输出要求 共M行。第i行一个整数,表示放入第i个棋子后,当前有多少个棋子连通块。-Topic description In order to enhance the ability of kindergarten children count, Tiger s teacher gave the job of a family game. He let the Tigers get an empty chess set, randomly put some pawn in some grid (black or white), if a box and it s one of the down, left, and right box have pawn of the same color, the two grid connect. During this period, the Tigers continue to Statistics Total number of connected blocks. The following figure is a 5 × 9 board, where "space,"* "represents the black pawn," @ ", said the white pawn. There are four connected piece. ......... ..** .. @ .. .** @ @ @ @. ..* @ ..* .. ......... Brothers and Big Tiger, he is thinking while watching, if the board is the N × N, let M a pawn how to use the computer to solve this problem? Input requirements 1 lines of two integers: N, M, (1 ≤ N ≤ 500,1 ≤ M ≤ N × N). Next M lines, each line of three positive integers: C and the X, Y (0 ≤ C ≤ 1,1 ≤ X, Y, ≤ N), respectively, turn into the color of the pawn (0 white
Date : 2025-12-25 Size : 1kb User : 掌们

贪吃蛇 在一个方框内有一条蛇和一个目标,蛇身由若干小方格组成(游戏开始时,蛇身长度为4)。蛇自动前进,用光标键可以控制蛇头的前进方向。蛇头每前进一格,蛇身的最后一节消失,蛇头改变方向时,蛇身在该点弯曲。蛇头碰到目标时,玩家得一分,同时蛇身长度增加一个长度。蛇头碰到四壁或碰到蛇身时游戏结束。 (1)画出程序初始样式(方框、蛇身、目标及文字); (2)允许玩家用菜单项“开始”开始游戏,“结束”结束游戏; (3)允许玩家选择游戏难度:“简单”、“普通”、“困难”; (4)蛇能自动前进,蛇身显示正确; (5)用方向键可以改变蛇头方向,并且蛇身在改变方向处正确弯曲; (6)蛇头碰到目标可以正确计分并显示; (7)蛇头碰到目标可以正确增加蛇身长度; (8)正确判断游戏结束(包括蛇头碰到四壁或蛇身); (9)正确显示计时-Snake in a box within a snake and a goal, the snake by the number of small squares (the start of the game, snake length 4). Snake automatically advance, you can use the cursor keys to control the forward direction of the snakeheads. Each forward a snake head, snake the last one disappeared, and change direction when the snake head snake bend at that point. The snakeheads when the target is met, the player one point, an additional length of the snake length. Snakeheads run into the walls or snake encounter, the game is over.
Date : 2025-12-25 Size : 6.1mb User : 狄恒

C# 网络中国象棋源码下载,棋谱格式("前三位数字,第四位点号,第5位空格,第6--9位红方走棋信息,") ,棋谱格式("第10,11位空格,第12--15位黑方走棋信息,")。 -C# Network Chinese chess source code download, chess format (" the first three digits, the fourth point, No. 5 spaces, 6- 9 red side playing chess information" ), chess format (" 10, 11 bit space, 12- 15 Black' s move information " ).
Date : 2025-12-25 Size : 172kb User : tpudn41

Qt + OpenGL OpenGL部分只是棋盘和落子的绘制 实现基本功能有: 棋局保存、打开、背景音乐、暂停、悔棋、认输、交换棋局、排行榜 可以做参考,Qt版本是4.8.2 不足的地方很多,比如基本的功能控制没有做,如需帮助,可留言我,邮箱:mrzhufeng@126.com-Qt+ OpenGL OpenGL part is just the drawing board and Lazi basic functions are: chess game save, open, background music, pause, undo, defeat, exchange chess game, ranking can make reference, Qt version is 4.8.2 deficiencies in many places, basic functions such as control did not do, you need help, you can message me, email: mrzhufeng@126.com
Date : 2025-12-25 Size : 17.08mb User : 朱峰
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.