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

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

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

代码说明:

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

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

发表评论

0 个回复

  • family financial management, for a family day
    家庭理财,用于家庭个日常财务管理,方便快捷-family financial management, for a family day-to-day financial management, convenient and quick
    2022-02-18 13:43:00下载
    积分:1
  • ANSYS流体流场分析指南。pdf,ANSYS流体的详细信息…
    ANSYS流体流动场分析指南.pdf,详细介绍了ANSYS流体流动场分析方法,经典,值得一读。-ANSYS Fluid Flow Field Analysis Guide. Pdf, detailed information on ANSYS fluid flow field analysis method, a classic, worth reading.
    2022-12-05 19:40:03下载
    积分:1
  • ti-dsp2407的电动机控制和音频输出程序-ti-dsp2407 motor control and audio output procedures
    2023-05-23 04:15:03下载
    积分:1
  • 数独是一种瑞士起源于第十八世纪后期的数学解释。
    数独是一种源自18世纪末瑞士的数学智力拼图游戏。拼图是九宫格(即3格宽×3格高)的正方形状,每一格又细分为一个九宫格。在每一个小九宫格中,分别填上1至9的数字,让整个大九宫格每一列、每一行的数字都不重复。 数独的玩法逻辑简单,数字排列方式千变万化。不少教育者认为数独是锻炼脑筋的好方法。-Sudoku is a kind of Switzerland originated in late 18th century mathematical intelligence jigsaw puzzle. Puzzle is the squares (ie, 3 cells wide × 3 grid H) of square-shaped, each divided into a fine grid squares. Small squares in each of the respective fill in the figures 1-9, so that the whole big squares in each row, each row will not repeat the figures. The logic of playing Sudoku is simple, the arrangement of the ever-changing figures. Many educators think Sudoku is a good way to exercise their brains.
    2022-07-26 14:08:27下载
    积分:1
  • 你想没有硬件就跑μc OS吗,这里提供了一个虚拟的硬件设备,可以让你模拟真实的硬件环境...
    你想没有硬件就跑μc OS吗,这里提供了一个虚拟的硬件设备,可以让你模拟真实的硬件环境-You want to run there is no hardware μc OS you, here provides a virtual hardware device that lets you simulate real hardware environment
    2023-08-09 10:05:04下载
    积分:1
  • MICROCHIP PIC 8位机 10/12/14/16系列单片机 PICC 9.50 C编译器
    MICROCHIP PIC 8位机 10/12/14/16系列单片机 PICC 9.50 C编译器-MICROCHIP PIC 8 Series 10/12/14/16 positioner Singlechip PICC 9.50 C compiler
    2022-01-22 07:12:55下载
    积分:1
  • RS纠错编码原理及实现方法 相当实用经典的资源
    RS纠错编码原理及其实现方法 相当实用经典的资源 -RS error-correcting coding theory and method is very practical classic realize the resources
    2022-07-26 16:47:34下载
    积分:1
  • qt打飞机
    这是qt游戏,跟普通我们玩的打飞机差不多,虽然界面不怎么地,不过也算是一个成功的案例,欢迎下载,这是转载别人的,希望可以帮到大家学习~
    2022-03-29 09:32:53下载
    积分:1
  • 如果ATL组件称为阴极射线管
    如果在 ATL 组件程序中调用了 CRT 的运行时刻库函数,比如开平方 sqrt() ,那么编译的时候可能会报错“error LNK2001: unresolved external symbol _main”。怎么办?下面方法中的任何一个都可以纠正这个错误:-If the ATL component called the CRT-program run-time library functions, such as the square root sqrt (), then the compiler will complain when possible " error LNK2001: unresolved external symbol _main" . How to do? Any one of the following methods can rectify this error:
    2022-02-12 21:47:56下载
    积分:1
  • 一个公司的光盘仓库管理软件源码,用vb.net编写完成
    一个公司的光盘仓库管理软件源码,用vb.net编写完成-a company"s warehouse management software CD-ROM source code, prepared by vb.net
    2022-03-09 23:30:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载