《俄羅斯方塊游戲的設計與開發(fā)2200字》由會員分享,可在線閱讀,更多相關《俄羅斯方塊游戲的設計與開發(fā)2200字(2頁珍藏版)》請在裝配圖網上搜索。
1、俄羅斯方塊游戲的設計與開發(fā)2200字
摘 要隨著信息社會日益月新的發(fā)展,計算機已經普及到人們的日常生活中。為了使用戶在繁忙的日程工作中得到放松,于是出現(xiàn)了各種各樣的休閑工具,如聊天工具,休閑游戲等?!抖砹_斯方塊》作為一款經典的休閑游戲在該游戲新鮮出爐時就顯得非常直觀,雖然經過了大量的變形和更改,但游戲核心依然保持不變。這些游戲的核心能夠提供吸引人親自動手去實踐。俄羅斯方塊是個老幼皆宜的小游戲,它的實現(xiàn)由四塊正方形的色塊組成,然后存儲在一個數(shù)組的元素中,計算機隨機產生不同類型的方塊,根據(jù)計算機時鐘控制它以一定的速度下落,用戶根據(jù)鍵盤的四個方向鍵控制翻轉、向左、向右和向
2、下操作,當出現(xiàn)滿行的情況時將自動消除并計算分數(shù)。游戲最后由玩家的得分來評判水平的高低。該游戲軟件可以在Windows系統(tǒng)運行,基本上實現(xiàn)了統(tǒng)俄羅斯方塊游戲的功能.玩家可以通過鍵盤控制在游戲區(qū)中堆積軟件隨機提供的方塊,在游戲區(qū)堆滿一行后,自動消除并記分。當游戲區(qū)不能再堆積新來的方塊時,游戲結束。游戲設定3個級別,級別越高,方塊下降的速度越快、難度越大,達到最高級別時不再增加。關鍵字: 俄羅斯方塊;算法;數(shù)組;游戲 AbstractWith the new information society increasingly on the development of computers have s
3、pread 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
4、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 differen
5、t 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 scori
6、ng 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 se
7、ven 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;Game1、硬件環(huán)境:裝有windows XP 操作系統(tǒng)的PC機一臺,配置為CPU:2.26G,內存:512M,硬盤:80G2、軟件環(huán)境操作系統(tǒng): Windows XP開發(fā)平臺: Visual stduio編程語言: C#