|
摘 要
随着信息社会日益月新的发展,计算机已经普及到人们的日常生活中。为了使用户在繁忙的日程工作中得到放松,于是出现了各种各样的休闲工具,如聊天工具,休闲游戏等。《俄罗斯方块》作为一款经典的休闲游戏在该游戏新鲜出炉时就显得非常直观,虽然经过了大量的变形和更改,但游戏核心依然保持不变。这些游戏的核心能够提供吸引人亲自动手去实践。
俄罗斯方块是个老幼皆宜的小游戏,它的实现由四块正方形的色块组成,然后存储在一个数组的元素中,计算机随机产生不同类型的方块,根据计算机时钟控制它以一定的速度下落,用户根据键盘的四个方向键控制翻转、向左、向右和向下操作,当出现满行的情况时将自动消除并计算分数。游戏最后由玩家的得分来评判水平的高低。
该游戏软件可以在Windows系统运行,基本上实现了统俄罗斯方块游戏的功能.玩家可以通过键盘控制在游戏区中堆积软件随机提供的方块,在游戏区堆满一行后,自动消除并记分。当游戏区不能再堆积新来的方块时,游戏结束。游戏设定3个级别,级别越高,方块下降的速度越快、难度越大,达到最高级别时不再增加。
关键字: 俄罗斯方块;算法;数组;游戏
Abstract
With the new information society increasingly on the development of computers have spread to peoples daily life. To enable users to work in a busy schedule get away, so a wide variety of leisure tools, such as chat tools, such as casual games. "Tetris" as a classic electronic games in the latest game when it is very intuitive, despite a large number of deformation and changes, but the core game remains unchanged. The core of these games can provide attractive personally get involved in practice challenges.
Tetris is a young and old box-safe game, its from a four square of color composition, and then stored in an array of elements, the computer randomly generated seven different types of box, according to computer clock control it To a certain speed of the whereabouts of the user based on the four key keyboard control and overturned, left, right and down operation, when a full line of the case will automatically calculate and eliminate scores. Players of the game by scoring the final to be judged by the degree level.
The game software can run on the Windows operating system, basically realize the reunification of the Russian box basic functions of the game, players can control the game through the keyboard area in the accumulation of random software to provide the seven types box, filled in the district and his party after the game, Points and automatic elimination. When the game can not be re-accumulation of new areas to the box at the end of the game. Three-game set, the higher the level, the faster the decline in box, the greater the difficulty, no longer the highest-level increase.Keywords: Tetris; calculate way; several;Game
1、硬件环境:
装有windows XP 操作系统的PC机一台,配置为CPU:2.26G,内存:512M,硬盘:80G
2、软件环境
操作系统: Windows XP
开发平台: Visual stduio
编程语言: C# |
|