-
一种改进的开关中值滤波对均匀分布的脉冲噪声去除…
An Improved Switching Median filter for Uniformly Distributed Impulse Noise Removal
- 2022-03-26 02:23:22下载
- 积分:1
-
This program computes the electric field and potential distributions of a dipole...
用来计算电偶极子的电场和电势分布,当然也可以根据需要计算更高阶的电场,只要保留到相应的阶次就OK了。-This program computes the electric field and potential distributions of a dipole. You can also compute higher order electric field with it by preserving the series to corresponding order.
- 2023-01-19 06:55:03下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1
-
多功能计算器,界面选择较多,能够实现多种功能,如角度弧度等运算...
多功能计算器,界面选择较多,能够实现多种功能,如角度弧度等运算-Multi-function calculator, interface more choices, to achieve a variety of functions, such as the angle of curvature, such as computing
- 2023-06-18 21:25:04下载
- 积分:1
-
DMA和DMA控制器,对DMA(直接存储器访问)和C DMA系统
DMA与DMA控制器,讲解了DMA(Direct Memory Access)的概念以及DMA系统组成及工作过程
-DMA and the DMA controller, on a DMA (Direct Memory Access) and DMA system the concept of the composition and the working process
- 2022-05-19 10:08:09下载
- 积分:1
-
奇迹的东西这些给你们看看,我不知道是什么
奇迹的东西这些给你们看看,我不知道是什么-hihhghzh修辞学厂夏至线
- 2022-01-23 10:24:47下载
- 积分:1
-
这是一篇关于一种基于特征的GRID到TIN的转换算法的论文,结构完整。...
这是一篇关于一种基于特征的GRID到TIN的转换算法的论文,结构完整。-This is an article on the characteristics of a GRID-based conversion algorithm to TIN paper, the integrity of the structure.
- 2022-07-21 12:24:04下载
- 积分:1
-
VB preparation, similar to Zuma game, in some places, compare cards.
VB编写,类似祖玛的游戏,有些地方比较卡。-VB preparation, similar to Zuma game, in some places, compare cards.
- 2022-01-26 05:36:06下载
- 积分:1
-
Implementation of this procedure on a sports car on the screen, the background f...
本程序实现一辆汽车在屏幕上运动,背景为森林.-Implementation of this procedure on a sports car on the screen, the background for the forest.
- 2022-05-16 11:01:07下载
- 积分:1
-
1、设计题目
小型商品管理系统
2、设计要求
包括用户登陆、创建商品价格信息、增加商品价格信息、删除商品价格信息、查询商品价格信息、商品价格信息排行...
1、设计题目
小型商品管理系统
2、设计要求
包括用户登陆、创建商品价格信息、增加商品价格信息、删除商品价格信息、查询商品价格信息、商品价格信息排行浏览、管理员的顾客管理
3、系统功能需求分析
抽象以上设计要求,即:登陆、创建、增加、删除、查询、排行浏览、顾客管理
-thank you
- 2022-03-21 06:15:34下载
- 积分:1