首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > This program is in a room where a cat

This program is in a room where a cat

  • 资源大小:2.68 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 其他项目

资 源 简 介

本程序是在一个房间里猫捉老鼠的游戏。通过键盘上的上、下、左、右方向键控制一只猫,十只老鼠在窗口中自由活动,可随时改变行走方向,遇窗口边界则改变方向。猫碰到老鼠后就吃掉它(该鼠不再显示)。若猫吃掉所有老鼠,游戏结束并显示游戏所剩时间;若时间用完,猫没有吃掉所有老鼠, 游戏结束并显示所剩老鼠数目。-This program is in a room where a cat-and-mouse game. Through the keyboard up, down, left and right arrow keys to control a cat, 10 mice in the window to freely travel at any time to change the direction of the window border, however, to change the direction of the event. Encountered after the cat mouse eat it (the mouse is no longer displayed). If the cats eat all the rats, the game is over and displays the time remaining for the game if time runs out, the cat did not eat all the rats, the game is over and displays the number of the remaining mice.

文 件 列 表

CatCatchRat
res
Debug
CatCatchRat.aps
CatCatchRat.clw
CatCatchRat.cpp
CatCatchRat.dsp
CatCatchRat.dsw
CatCatchRat.h
CatCatchRat.ncb
CatCatchRat.opt
CatCatchRat.plg
CatCatchRat.rc
CatCatchRatDoc.cpp
CatCatchRatDoc.h
CatCatchRatView.cpp
CatCatchRatView.h
MainFrm.cpp
MainFrm.h
ReadMe.txt
resource.h
StdAfx.cpp
StdAfx.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.178367s