登录
首页 » 其他 » VC++猫捉老鼠捉迷藏游戏

VC++猫捉老鼠捉迷藏游戏

于 2022-03-30 发布 文件大小:617.61 kB
0 204
下载积分: 2 下载次数: 1

代码说明:

VC++猫捉老鼠捉迷藏游戏,带音效,每个老鼠,不管是猫的侧身还是后身,只要一碰猫就算是被猫吃看.只需将算法改为如下,便可实现只有接近嘴巴时才被吃掉.   If(在老鼠接猫时,再判断老鼠接的是猫的嘴巴,){吃掉}   即是:   若老鼠在猫的左边接近猫,且猫的方向需向右(m_nCatDirection==2)才能吃掉老鼠.   若老鼠在猫的右边接近猫,且猫的方向需向左(m_nCatDirection==3)才能吃掉老鼠.   若老鼠在猫的上边接近猫,且猫的方向需向下(m_nCatDirection==1)才能吃掉老鼠.   若老鼠在猫的下边接近猫,且猫的方向需向上(m_nCatDirection==0)才能吃掉老鼠.   以老鼠在猫的左边接近猫为例

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 实现两个四层电梯同时控制,有开门、关门、报警功能
    实现两个四层电梯同时控制,有开门、关门、报警功能-To achieve simultaneous control of two four-story elevator, there are open, closed, alarm function
    2022-01-21 03:30:34下载
    积分:1
  • 一个用c++写的简单的学生管理系统,包括添加,删除,按成绩平均分和总分排出顺序...
    一个用c++写的简单的学生管理系统,包括添加,删除,按成绩平均分和总分排出顺序-A c++ to write with a simple management system for students, including add, delete, according to results from the average total points and the order of
    2022-01-26 00:06:59下载
    积分:1
  • 计算三电平逆变器出现的中点电位波动问题分析
    计算三电平逆变器出现的中点电位波动问题分析-caculate NPC circuit netural current balance problem
    2022-11-21 23:45:03下载
    积分:1
  • new camera calibration algorithm Functions with a calculated exercise group were...
    摄像机标定新算法,用一个子函数计算出两组运动组的参数本程序用于调试摄像机标定新算法这个程序在原来的基础上改变了部分返回值,将标准离差改为均方值的计算加入标定整体误差计算,运动复原和三维复原整体误差计算应先用计算出的平移矢量进行三维复原,从得出的点对统计其z方向为正的个数,多者为正确的平移矢量 -new camera calibration algorithm Functions with a calculated exercise group were the parameters of the testing procedures for the new camera calibration algorithm of this procedure in the original change based on the return of some value, the standard deviation to the mean square value calculated by adding the overall calibration error terms, 3D sports rehabilitation and recovery overall error calculation should be calculated using the 3D vector translation recovery, derived from the statistical point of its z direction as is the number, the greater the correct translation vector
    2022-07-20 02:37:02下载
    积分:1
  • dms(struts+spring+hibernate) dataManagerSystem
    dms(struts+spring+hibernate)数据管理系统-dms(struts+spring+hibernate) dataManagerSystem
    2023-08-20 06:25:04下载
    积分:1
  • 贪吃鱼游戏
    应用本章构建的游戏角色模块及AI控制模块,并进一步结合已经实现的游戏引擎其它模块的应用,初步掌握如何利用角色类来控制游戏中的角色,并学习如何让角色具有简单的AI能力,为后续的实际游戏设计打下基础。贪吃鱼游戏。 
    2022-05-22 19:58:16下载
    积分:1
  • 遗传算法 演化硬件
    应用背景用C实现演化电路的设计,电路设计自动化关键技术C,演化电路,遗传算法,在没有人为干预的条件下,自动设计出满足要求的逻辑电路
    2022-01-28 01:05:57下载
    积分:1
  • VB mapping equipment to do the communication process. Set up communications para...
    VB做的测绘仪器通讯程序! 设置通讯参数一定要和仪器里的一致!-VB mapping equipment to do the communication process. Set up communications parameters must apparatus and the same!
    2022-03-19 18:40:03下载
    积分:1
  • 基于DOS的内存分配过程 操作系统
    基于DOS的内存分配过程 操作系统- Based on DOS memory allocation process operating system
    2022-07-26 22:10:37下载
    积分:1
  • 贪吃蛇 是一种意志的小游戏
    贪吃蛇 是一种意志的小游戏 -Snake is a game of will
    2022-06-16 09:32:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载