劳拉方块游戏设计与实现摘要劳拉方块是一款老少咸宜的小游戏,和俄罗斯方块类似,其中加入了等级的概念。游戏中的每一块落下的方块都由四个小色块组成,这四个小色块存储在一个数组的四个元素中,计算机随机产生不同类型的七种方块,根据计算机时钟控制它在一定的时间不停的产生。用户可以通过上下左右四个方向键(方向键的事件处理)来实现方块的翻转、向左、向右和向下。然后程序根据这七种方块对叠成不同的模型。论文首先描述了游戏的历史和开发环境,然后完整地展现了软件定义,可行性讨论、需求分析、概要设计、详细设计和软件测试,整个开发过程贯穿软件工程的知识体系。此次设计在 Linux 下,以 C++作为开发语言,在 Qt 平台上进行游戏的设计与实现,最终完成了代码部分的全部工作。能够设计出一款小游戏,寓教于乐,对我来说十分有意义。关键词:游戏开发;Qt;控制;C++Laura box Game Design and ImplementationAbstractLaura box is a game for all ages , and like Tetris , which added the concept of class . Each game consists of a falling block consisting of four small blocks of color , these four small patches stored in an array of four elements , the computer randomly generated seven different types of boxes , according to the computer clock to control it to some time to stop production. Users can up and down the four arrow keys ( arrow keys event processing ) to achieve the box, flip, left, right and down. Then the program based on these seven boxes for Diecheng different models.Paper first describes the game's history and development environment , and then show the complete software-defined , feasibility studies, needs analysis , outline design, detailed design , and software testing throughout the entire development process of knowledge of software engineering.The design under Linux, in C + + as a development language , the Qt platform design and implementation of the game, the final completion of all the work the code section. Able ...