登录
首页 » 其他项目 » This program is in a room where a cat

This program is in a room where a cat

于 2022-12-27 发布 文件大小:2.68 MB
0 216
下载积分: 2 下载次数: 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.

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

发表评论

0 个回复

  • 续接上面16*16VHDL 程序,可作参考,大家互相学习2
    续接上面16*16VHDL 程序,可作参考,大家互相学习2-Then added 16* 16VHDL procedures above can be used for reference, we learn from each other 2
    2022-03-25 05:52:23下载
    积分:1
  • 介绍粒子群算法的多用户检测。里面有四个程序。
    介绍粒子群算法的多用户检测。里面有四个程序。-Particle Swarm introduced multi-user detection. There are four procedures.
    2022-04-22 15:29:35下载
    积分:1
  • 控制 de 质量
    El Inventario Inicial 代表 el 英勇 de las existencias de mercancías en la 和组件 que comenzó el período contable。 Esta 作 se 睁开宽 el 控制 de los inventarios,en el 市长一般,se lleva en 基地 al método especulativo y 没有 vuelve 柔软运动 hasta finalizar el período contable 宽 se cerrará con 货物 · 克斯克德美洲大道 o bien por Ganancias y Pérdidas directamente。 En la 作经典 se incluyen las mercancías compradas 杜兰特 el período contable con el objeto de volver venderlas 骗子罚款 de lucro y que forman 单方面 del objeto 段 el cual 综 creada 拉迪尔企业。没有 se incluyen en esta 作 la compra de 关于、 Maquinarias、 Edificios、 Equipos、 Instalaciones、 等。Esta 作 tiene 联合国 saldo deudor,
    2022-07-15 11:30:43下载
    积分:1
  • C#淘宝刷店铺真实流量软件
    资源描述 本软件主要是帮助淘宝店铺卖家刷真实流量的工具,主要功能包括: 1、自动打开淘宝网页; 2、自动打开VPN软件并切换; 3、VPN软件采用的是91VPN; 4、软件自动实现浏览到宝贝页面,并重复更换IP访问宝贝,造成虚拟访问量; 5、可提高店铺访问量,吸引更多客户进行购买。
    2022-01-28 07:09:40下载
    积分:1
  • 《C++程序设计教程》作者石志国—源代码
    《C++程序设计教程》作者石志国—源代码,1-15章全部源代码,适合初学者分析借鉴学习。
    2022-03-25 00:14:59下载
    积分:1
  • 介绍了opencv的基础操作方法。比如利用opencv进行图像数据的读取、矩阵的运算等。...
    介绍了opencv的基础操作方法。比如利用opencv进行图像数据的读取、矩阵的运算等。-Opencv introduce the basis of the method of operation. For example, the use of opencv image data read, such as matrix calculations.
    2022-08-18 02:35:49下载
    积分:1
  • 数值分析函数插值法
    数值分析函数插值方法-numerical analysis function interpolation method
    2022-01-26 06:35:34下载
    积分:1
  • PB using API functions for the Windows programmers PB development,
    PB用API函数,用于PB程序员的WINDOWS开发,-PB using API functions for the Windows programmers PB development,
    2022-02-28 20:02:47下载
    积分:1
  • 生成EXCEL的PHP文件,相当好用的一个类
    生成EXCEL的PHP文件,相当好用的一个类-EXCEL
    2022-03-22 06:03:45下载
    积分:1
  • 一种新的优化算法,解决工程优化(最大,最小及最优等等)问题及优化任务....
    一种新的优化算法,解决工程优化(最大,最小及最优等等)问题及优化任务.-A new optimization algorithm to solve engineering optimization (maximum, minimum and optimal, etc.) and optimization of mission.
    2022-02-14 06:36:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载