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