【正文】
發(fā)語言進行設計與實現。然后程序根據這七種方塊折疊成各種不同的類型。 畢業(yè)設計(論文)正文題 目俄羅斯方塊游戲專 業(yè)班 級姓 名學 號指導教師職 稱俄羅斯方塊游戲摘要: 在現代信息高速發(fā)展的時代,電子游戲已經深入了人們的日常生活,成為了老少咸宜的娛樂方式,但是游戲設計結合了日新月異的技術,在一個產品中整合了復雜的藝術,設計,聲音和軟件,所以并不是人人皆知,直到今天,在中國從事游戲設計的人仍然很少,但是游戲行業(yè)的發(fā)展之快,遠超如汽車,家電等傳統(tǒng)行業(yè),也正因為如此,游戲人才的教育培養(yǎng)遠落后于行業(yè)的發(fā)展。 俄羅斯方塊是一個老少咸宜的小游戲,它實現有四個正方形的色塊組成,然后存儲于一個數組的四個元素中,計算機隨機產生七種不同類型的方塊,根據計算機時鐘控制它在一定的時間不停的產生,用戶根據鍵盤的四個方向鍵進行向左,向右,向下,翻轉操作。 論文描述了游戲開發(fā)的背景,意義,算法分析,功能實現,功能測試。關鍵詞:電子游戲,算法,C++,測試The Russian square piece Abstract : In the era of highspeed development of electronic of information, puter game has enter people’s daily life, bee an amusement adapt to old and young. But game design is a bination of fastmoving technology ,the plexity of integrating design,art,audio and software into a single production,so this thechnology isn’t known by everyone .uptodate,there are few people work at game design all the same,whereas,thedevelopment of game industry more faster than traditional industry as home appliances and automobile,by the reason of this situation,the education and training of person with ablity of game design drop behind the development of game industry. The Russian square piece is a getaway drama with all proper old young ,it carry out to be constitute by four pieces of colours of exact square piece ,then save in one four chemical elements of the piece set ,random creation dissimilarity of calculator seven the square piece of the category type ,control it according to the calculator clock in certain time continuously creation , the customer is inside out according to four directions key control of the keyboard ,to left ,rightwards and get down ,(the realization of the control key is to be carry out by the event handing of the direction key of the keyboard) Then the procedure pileds according to these seven kinds of square pieces various different model. The thesis has described the game history ,has developed this game history ,has developed this game environment, development significance of game .Knowledge abiding by a software engineering ,definition begins from software problem ,proceed to carry out feasibility study ,need analysis ,essentials design,the at last has carried out a testing on the software engineering knowledge hierarchy .The puter games design and practice are designed o eclipse developing platform with C++ developing instrument ,under Microsoft Windows XP system this time.Key Words: electronic game calculate way C++ test目 錄1引言 1 1 22需求與算法分析 3 3 游戲需求 3 4 游戲形狀(方塊)需求 4 5 5 53系統(tǒng)功能實現 7 7 8 9 11 13 15 游戲區(qū)域繪圖的實現 16 游戲方塊繪制 20 煙花燃放功能 224功能測試 24 24 24 27 285總結 29[參考文獻] 30致謝 31┊┊┊┊┊┊┊┊┊┊┊┊┊裝┊┊┊┊┊訂┊┊┊┊┊線┊┊┊┊┊┊┊┊┊┊┊┊┊ 畢業(yè)設計俄羅斯方塊的程序設計1引言計算機游戲產業(yè)在隨著網絡的發(fā)展有了長足的發(fā)展。純文字交互,顧名思義,是一純文字的形式來進行游戲??傊?,文字MUD是一個很需要想象力的游戲形式,需要從文字轉化成玩家自己腦海中的現實場景。掌上游戲機和電視游戲機在80年代和90年代風靡一時,此時由蘇聯人Alex Pajitnov制作的游戲俄羅斯方塊在掌上游戲機和電視游戲機上流行,其造成的轟動和經濟價值成為游戲史上的大事。 俄羅斯方塊是個老幼皆宜的小游戲,它實現由四塊正方形的色塊組成,然后存儲在一個數組的四個元素中,計算機隨機產生不同七種類型的方塊,根據計算機時鐘控制它在一定的時間不停的產生,用戶根據鍵盤的四個方向鍵控制翻轉、向左、向右和向下操作,(控制鍵的實現是由鍵盤的方向鍵的消息函數實現)?;赪indows的游戲設計有很多方式,如基于java跨平臺的設計,三種設計各有優(yōu)缺。然而其通用性不好,在執(zhí)行效率上也不如MFC程序。 相比三種設計方案,為了能夠在Windows平臺上以更好的性能運行,本文采用VC++基于MFC的設計,來完成俄羅斯方塊的游戲。包括系統(tǒng)的需求分析;系統(tǒng)總框圖及每個模塊的設計分析;MFC應用程序架構;框架的擴展;算法的設計與實現;游戲的內部實現。通過此次畢業(yè)設計,我對軟件設計的過程有了清晰的認識,通過編寫游戲的各個方面工作學習了設計思想,程序架構,數