CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c B
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c B - List
[
Chess Poker games
]
canvas_color_Bomp
DL : 0
使用MFC开发,模仿WindowsXp的扫雷游戏,砖块为彩色的 鼠标左键在砖块上拖动时砖块颜色会变化,重置按钮的表情除事件变化外也会随时间变化 快捷键 C 初级 Z 中级 G 高级 B 彩雷英雄榜 Space或Enter 重新开局 资源文件: FaceButton.bmp tile_num.bmp-The use of MFC development, imitation of mine Windowsxp games, for the color of the bricks in the brick on the left mouse button when dragging bricks will change color, reset button face changes in addition to the events will change over time shortcut keys C primary Z Intermediate High B Cai Lei G standings hero Space or Enter re-opening resource file: FaceButton.bmptile_num.bmp
Date
: 2025-12-21
Size
: 506kb
User
:
ZZP
[
Chess Poker games
]
Othello-BlackWhiteChess
DL : 0
可供两人对弈的黑白棋游戏(Othello): (a) 8×8棋盘,共64格; (b) 共64个棋子,每个棋子都黑白各一面; (c) 开局时,为棋盘中央放置4颗棋,黑白各半,交叉排列,如下图; (d) 开局者持黑子,为先手,之后双方方轮流下棋。 (e) 下子位置必须能够夹击对方的棋子; (f) 当己方的一子与最后下的一子呈一直线(橫、直、斜,8个方向),且中间包夹到对方的 棋子,则中间被包夹的棋子将变为己方颜色。 (g) 若一方无处可下子,则由对方下。双方皆无子可下时,棋局结束。 (h) 棋局结束时,棋盘上较多子的一方为胜。-Game for two games of Reversi (Othello): (a) 8 × 8 chessboard, a total of 64 cells (b) a total of 64 chess pieces, each side of the chess pieces are black and white (c) start when the central board placed 4 game, were equally divided between black and white, cross-array, as illustrated (d) persons who start sunspots for the upper hand, followed by the two sides take turns to play chess. (e) Now position must be able to attack the opponent
Date
: 2025-12-21
Size
: 1.88mb
User
:
leo
[
Chess Poker games
]
Gobang
DL : 0
五子棋游戏,用C++编写,在windows环境下。用有界深度优先的a-b剪枝算法,已经做得可以赢人了。-Gobang game, using C++ Prepared, in the windows environment. Bounded depth-first use of the ab-pruning algorithm, has been done to win people.
Date
: 2025-12-21
Size
: 683kb
User
:
kk.h
[
Chess Poker games
]
heibaiqi
DL : 0
可供两人对弈的黑白棋游戏(Othello): (a) 8×8棋盘,共64格; (b) 共64个棋子,每个棋子都黑白各一面; (c) 开局时,为棋盘中央放置4颗棋,黑白各半,交叉排列,如下图; (d) 开局者持黑子,为先手,之后双方方轮流下棋。 (e) 下子位置必须能够夹击对方的棋子- sdjflskjdflksd
Date
: 2025-12-21
Size
: 1.6mb
User
:
王增财
[
Chess Poker games
]
pro
DL : 0
1输出国际象棋棋盘 2打印楼梯,同时在楼梯上方打印两个笑脸 3古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 4判断101-200之间有多少个素数,并输出所有素数。 5打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。 6将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。 程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成: (1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。 (2)如果n<>k,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你n, 重复执行第一步。 (3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。 7利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。-The use of nested conditional operator to complete this question: academic "= 90 points, said students with A between 60-89, with B, said 60 points or less, said to use C.
Date
: 2025-12-21
Size
: 2kb
User
:
杨橙林
[
Chess Poker games
]
five
DL : 0
我使用以前的五子棋VC游戏的架构和资源,用了一个副线程将我的通讯与框架代码写在里面,MFC与副线程间是用内核对象和全局变量通讯的。 1.主线程: a负责创建MFC单文档 b,等待副线程开启鼠标移动和左击事件的许可,是bool g_mouseMoveAble和bool g_lButtonDownAble两个变量来控制的。 c,单击事件发生后,如果单击的合法(在棋盘上不与其它的棋子冲突),就可以将通知(HANDLE hEvent)给副线程,通知它来处理。 2.副线程 a.连接服务器(TCP) b.等待一秒(等待MFC的类创建完)。 c.然后就开始与服务器通讯。 使用方法: 1,编译运行"网络五子棋\一主多从winsock_dos\TCPServer_winsock” 2,编译运行"网络五子棋\游戏91023A" 3,编译运行"网络五子棋\游戏91023B" 一定要按顺序来呀。代码写的很粗糙,没有时间和能力将它写好,但是还是可以懂得吧。 -I use the previous game Renju VC structure and resources are used, a Vice-thread communication and the framework of my code is written on the inside, MFC and sub-threads is to use kernel objects and global variables of communication.
Date
: 2025-12-21
Size
: 4.78mb
User
:
sunyi
[
Chess Poker games
]
exercise
DL : 0
设计一个含有多个菜单项的菜单演示程序,然后再为这些菜单项设计相应的功能。 要求: (1)程序显示下列菜单选项: 1. 解一元二次方程 2. 石头、剪子、布游戏 3. 退出程序 选择1-3: (2)用户选择1,则求解一元二次方程Ax² +Bx+C=0的根。用户输入A、B、C的值,输出方程根x1和x2。 (3)用户选择2,则模拟石头、剪子、布游戏。用户可以任选石头、剪子、布中的一种,计算机也随机产生3种物件之一,根据“石头赢剪子,剪子赢布,布赢石头”的规则判定胜负,另外,默认为一局定胜负,如果有可能,实现三局两胜的规则。 -Design a menu with multiple menu items demo program, and then design the corresponding menu items for these functions. Requirements: (1) program displays the following menu options: 1. Solving a quadratic equation 2. Rock, paper, scissors game 3. Exit the program Select 1-3: (2) the user selects 1, then solving a quadratic equation Ax ² + Bx+ C = 0 root. User input A, B, C values, the output equation roots x1 and x2. (3) the user selects 2, the simulation of rock, paper, scissors game. Users can choose the stone, paper, scissors in one, the computer randomly generate one of three kinds of objects, according to "win the stone scissors, scissors wins cloth, stone, cloth wins" rule to determine the outcome of the other, the default is a Board will be played, if possible, to achieve best of three games of the rules.
Date
: 2025-12-21
Size
: 1kb
User
:
夕月
[
Chess Poker games
]
WuZiQi1
DL : 0
1、由于对算法不是太了解,电脑下棋部分只是简单的输出在一个点上。 2、之前没碰过C++,第一次使用C++编程,使得里面的架构设计不是太合理。 编程步骤: a、先画出一个棋盘; b、在管理者组织下,两个人之间可以对战(自己判断输赢); c、有裁判判断输赢; d、加上电脑玩家;-1, because of the algorithm is not very understanding, computer chess simply part of the output at one point. 2, did not come across before C++, the first use of C++ programming, making the inside of the structure design is not too reasonable. Programming steps: a, first draw a chessboard b, organized by the managers, between two people can play against (winning or losing their own judgments) c, a referee to determine winning or losing d, with the computer players
Date
: 2025-12-21
Size
: 503kb
User
:
li
[
Chess Poker games
]
javakechengsheji-zhongguoxiangqi
DL : 0
本文主要是运用java实现具有一定功能的中国象棋对弈系统软件,主要功能如下: a、象棋对弈:红方先走,然后黑方再走,红黑交替,直到一方获胜。 b、新游戏:任何时候可以重新开始一盘新的对弈。 c、悔棋:当走错棋的时候可以悔棋。 d、信息提示:提示当前信息状态。 e、简单的帮助文档:象棋规则介绍、软件的简单介绍和编制说明 -In this paper, is to use java to achieve the Chinese chess, chess has a certain function system software, the main function is as follows: a chess chess: the red side go first, and then the black side walk, red and black alternately, until the party wins. b, a new game: any time can start a new chess. , undo: when the wrong moves can undo. d message: Tip of the current information status. e, simple help document: chess rules introduced, a brief introduction of the software and the preparation instructions
Date
: 2025-12-21
Size
: 427kb
User
:
alex
[
Chess Poker games
]
斗地主ai
DL : 1
//使用方法: //首先创建m_pRobot = new CRobot()对象 //叫分: //1.初始化手牌到m_pRobot->m_szHandCards数组,手牌按牌面从小到大排序,例:200,300,101,201,102,403,205,311,210,310....,注意数组大小,不要有空值或者0值 //2.调用解析函数m_pRobot->Resolution(); //3.获取叫分m_pRobot->getCallF(),返回0不叫,1一倍 2两倍 3三倍 //出牌: //1.初始化手牌到m_pRobot->m_szHandCards数组 //2.调用解析函数m_pRobot->Resolution(); //3.设置牌池中的出牌数据: //a.m_pRobot->m_nLastPutCardIndex最后那个出牌人的座位号[0,1,2] //b.m_pRobot->m_nLastPutCardNum牌池内牌型有多少张 //c.m_pRobot->m_szLastPutCard牌池内牌型,按牌面从小到大排序(// Method of use: // First create m_pRobot = new CRobot () object / / points: Initialize the hand to the m_pRobot-> m_szHandCards array. Hands are sorted from small to large, for example: 200, 300, 101, 201, 102, 403, 205, 311, 210, 310.... Pay attention to the size of the array. Do not have empty or zero values. //2. Call the analytic function m_pRobot - > Resolution (); //3. Get m_pRobot - > getCallF (), return 0 no call, double 2 times 3 times / / playing cards: //1. Initialize the hand to the m_pRobot-> m_szHandCards array //2. Call the analytic function m_pRobot - > Resolution (); //3. Set the license data in the pool: //a.m_pRobot-> m_nLastPutCardIndex Last Player's Seat Number [0,1,2] //b.m_pRobot-> m_nLastPutCardNum pool number of cards //c.m_pRobot-> m_szLastPutCard pool type, sorted from small to large)
Date
: 2025-12-21
Size
: 12kb
User
:
Los瘦身
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.