搜索资源列表
同色球游戏
- 游戏开发,用到direct等.Ball 球类,包含球的颜色(0,1,2),球的状态(int),球的外部标识。 MapNode 网结类,定义了一个专用的二维链表类的节点,包含该节点的挂球位,该节点的组号,节点的外部标识。 SameBallMap 包含二维链表(由15*10个节点组成),实现对游戏的球对象的完全管理. -game developers, such as direct use. Ball sports, including the color of the ball (0,1,2),
game_Pushbox
- C++开发的推箱子游戏 1.类的划分 Cdraw类 绘画加载地图(包括围墙、人、箱子等等) Cman类 是否完成(过关) 即时更新地图 2.设计思想 从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap, 单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2,
flashgame
- 游戏规则: 1、玩家通过掷筛子掷出的点数大小来控制主角在地图中前进的步数,当玩家到达终点则游戏结束。 2、你将与两家聪明的电脑玩家同场竞技。(ai设定) 3、玩家点击右下角两个筛子掷筛,停止后可选择任意一个筛子的大小值作为角色前进的步数。 4、电脑和玩家轮流掷筛,轮到任意一方时将会有闪烁提示。并能够体现电脑的操作过程。 5、地图内设各种事件格,如:前进,后退,暂停等,将对棋子前进造成2次变化。(不会存在2次以上的变化) 6、如果两个棋子走到同1格停止,则后来的将会把原来
TestVibration
- 测试MIDP2.0/2.1标准API Display.vibrate(int duration) 可以直接安装到支持J2me的手机上运行
namefight
- 以前自己编的一个小游戏,输入姓名然后可以对战,可以自娱自乐一下-#include <stdlib.h> #include <time.h> #include <windows.h> #define S Sleep(1000) #define P printf char name1[20],name2[20] int k1,k2,i,t1,t2,sxq int x1=100,x2=100,pow1,pow2,spe1,spe2
Quake-3-Arena-v1.32
- Q3的源代码 1)将所有工程属性Win32 Debug,改为Win32 Release 2)在工作区fileview中,右击"ui files"工程,左击"卸载工程",这一步很关键,否则会出现错误 3)在菜单栏里依次点击"工程"-->"从属性"-->在"选择修改工程"的下拉框中,选择quake3.在"从属以下工程:"选择框中,在botlib和renderer前面打勾,确定即可. 4)在工作区fileview中,右击"quake3 files"工
GetCardType_DouDiZhu
- 斗地主的获取牌型的算法,单张、对子、顺子、连对、飞机、炸弹、王炸;支持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 a
eluosifangkuai
- 俄罗斯方块 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 #include <iostream> #include <stdlib.h> #include <windows.h> #include <time.h> #include <conio.h> using namespace std #define A1 0//A代表长条型,B为方块,C为L型,D为
doudizhu
- 斗地主游戏,有叫牌,发牌,不要,再来一局等功能-public Container container = null // 定义容器 JMenuItem start, exit, about // 定义菜单按钮 JButton landlord[]=new JButton[2] //抢地主按钮 JButton publishCard[]=new JButton[2] //出牌按钮 int dizhuFlag //地主标志 int turn
five-chess
- (1)首先调用Chessboard 类型的chessboard 属性中的initBoard()与printBoard()方法去初始 化与打印棋盘。 (2)从控制台获取用户的输入。 (3)再调用本类的isValid()方法去验证玩家输入的合法性,如果输入不合法,返回第2 步继续, 否则到第4 步。 (4)把玩家下的棋子位置赋值为 ● 。 (5)调用isWon( int posX , int posY , Str
CPD3314-Assign6
- java的小练习,练习继承 class method 的调用。- Exercise#2- Car Class * * Write a class named Car that has the following fields: *- yearModel. The yearModel field is an int that holds the car s year model. *- make. The make field references a String objec
