Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - INT 1
Search - INT 1 - List
VC 打老鼠 //关于游戏的全局变量 BOOL hit,get POINT pos //木锤位置 int forewidth, foreheight //前台页面的宽度和高度 RECT backrect //后台页面映射矩形 int backwidth, backheight //后台页面的宽度和高度 int mouse[9] //老鼠洞出现东东的纪录 POINT holepos[9] //老鼠洞的位置 POINT mousepos[9] //老鼠头的位置 int status[9] //老鼠状态,0-4 int behit[9] //老鼠各个被打的纪录 int mousewidth int mouseheight POINT pt int time //剩余时间 int score //分数 int GameStatus //游戏状态 -Mice fight VC
Date : 2026-01-07 Size : 66kb User : peizmbj

游戏规则: 1、玩家通过掷筛子掷出的点数大小来控制主角在地图中前进的步数,当玩家到达终点则游戏结束。 2、你将与两家聪明的电脑玩家同场竞技。(ai设定) 3、玩家点击右下角两个筛子掷筛,停止后可选择任意一个筛子的大小值作为角色前进的步数。 4、电脑和玩家轮流掷筛,轮到任意一方时将会有闪烁提示。并能够体现电脑的操作过程。 5、地图内设各种事件格,如:前进,后退,暂停等,将对棋子前进造成2次变化。(不会存在2次以上的变化) 6、如果两个棋子走到同1格停止,则后来的将会把原来的弹回出发点。 7、地图中设定练习格,当玩家的棋子走到该格子时将要完成练习题方能继续,该格的练习同时也消失,做对给10分,错误扣10分。(玩家的基础分为100分,同一次格内的练习只能做1次) 游戏分数: 玩家试题得分=(100+正确试题个数*10-错误试题个数*10) 玩家时间得分=int(100/到达终点分钟数) 最终分数=(玩家试题得分+玩家时间得分)*名次系数 第1名名次系数:1.5 第2名名次系数:1.2 第3名名次系数:1.0 游戏开发模块: 1、角色与筛子控制模块程序 2、电脑AI模块 3、地图生成模块 4、试题练习模块 5、评价模块 -Rules of the game: 1, the player throws the points by throwing a sieve to control the size of the main characters on the map in a few steps forward, when the players reach the end of the game is over. 2, you will be wise with the two players compete against the computer. (Ai settings) 3, players click on the bottom right corner threw two sieve sieve, and stop with an option to any value as a sieve size of the role of the number of steps forward. 4, players take turns throwing computers and screen, turn to any one party will be flashing when prompted. And be able to reflect the computer s operation. 5, maps, events inside the cell, such as: forward, backward, pause and so on, will result in a pawn forward two times change. (There will be no more than 2 times of change) 6, if the two pieces come with a mesh to stop, then the later would be the bomb back to the original point of departure. 7, the map grid to set practice, when the player s pieces go to the grid will be compl
Date : 2026-01-07 Size : 3kb User : JACK

QT象棋源码 #include <qapplication.h> #include "main_form.h" int main( int argc, char ** argv ) { QApplication a( argc, argv ) MainForm w w.initializeAll() w.show() a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ) return a.exec() } -QT chess source
Date : 2026-01-07 Size : 62kb User :

人机下棋游戏,用C++语言实现,其中包含一个.h和一个.cpp文件.int n=0,max=0,temp=0 char ch //输出棋盘原始状态 Print() cout<<"You First or Second(F/S)?" cin>>ch if((ch== S )||(ch== s )) { status[4]= X counter=counter+1 Print() cout<<"Computer plays 5!"<<endl }-it is include two files,one is .h file,another one is .cpp file. int n=0,max=0,temp=0 char ch //输出棋盘原始状态 Print() cout<<"You First or Second(F/S)?" cin>>ch if((ch== S )||(ch== s )) { status[4]= X counter=counter+1 Print() cout<<"Computer plays 5!"<<endl }
Date : 2026-01-07 Size : 119kb User : 园子

斗地主的获取牌型的算法,单张、对子、顺子、连对、飞机、炸弹、王炸;支持2副牌,牌的int设计在里面,就一个cpp,其他要自己添加-Landlords access card type of algorithm, leaflets, pair, straight, even right, aircraft, bombs, fried king support two cards, cards int design on the inside, on a cpp, others want to add their own
Date : 2026-01-07 Size : 2kb User :

斗地主游戏,有叫牌,发牌,不要,再来一局等功能-public Container container = null // 定义容器 JMenuItem start, exit, about // 定义菜单按钮 JButton landlord[]=new JButton[2] //抢地主按钮 JButton publishCard[]=new JButton[2] //出牌按钮 int dizhuFlag //地主标志 int turn
Date : 2026-01-07 Size : 89kb User :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.