高级打地鼠游戏的设计与实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Design and implementation of the advanced game of whack-a-mole
  • 作者:商利华
  • 英文作者:SHANG Lihua;Wuxi City College of Vocational Technology;
  • 关键词:打地鼠 ; C# ; 随机数
  • 英文关键词:whack-a-mole;;C#;;random number
  • 中文刊名:DLXZ
  • 英文刊名:Intelligent Computer and Applications
  • 机构:无锡城市职业技术学院;
  • 出版日期:2019-07-01
  • 出版单位:智能计算机与应用
  • 年:2019
  • 期:v.9
  • 语种:中文;
  • 页:DLXZ201904049
  • 页数:4
  • CN:04
  • ISSN:23-1573/TN
  • 分类号:220-223
摘要
本文基于C#开发环境,开发了一款有趣味、有挑战、画面清新生动的高级打地鼠游戏。本游戏是通过地鼠的不断闪现和敲击,根据玩家的击中数,从而计算分数。其中,最大的特色就是通过动态增加控件使得"田地"数目不断变化,使得游戏等级逐步提高,从而实现闯关、游戏计时计分等功能。基本此,本文详尽提出动态增加控件的设计与实现,同时对该游戏中的主界面设计和随机显示地鼠也进行了探讨与分析。
        Based on the C # development environment,a whack-a-mole is developed which is fun,challenging,fresh and lively. While the game runs,through the constant flashing and tapping of the hamster,the score is calculated based on the number of hits by the player and the scores are gotten. The distinctive feature is that the number of " fields " is constantly changing by dynamically adding controls,game level is gradually improved and the functions such as game breakthrough、game timing and score are realized. This paper elaborates on the design and implementation of dynamically adding controls,and the main interface design and random display of the hamster in the game are also discussed and analyzed.
引文
[1]夏普,周靖. Visual C#2005从入门到精通[M].北京:清华大学出版社,2008.
    [2]蔡继文. 21天学通ASP.NET[M].北京:电子工业出版社,2009.
    [3]王兴晶. Visual Basic.NET数据库开发典型实例[M].北京:电子工业出版社,2002.
    [4]胡木林.基于遗传算法的在线考试系统组卷设计[J].中国教育技术装备,2018(12):23-27.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700