【正文】
III 目 錄1 引言 12 推箱子游戲概述 2 游戲起源 2 游戲的操作方法 2 游戲規(guī)則 23 使用軟件簡介 2 2 OpenCV簡介 24 任務描述 3 界面顯示 3 實現(xiàn)鍵盤操作 3 圖像變化顯示 3 游戲勝負的判斷 35 系統(tǒng)分析 3 界面設計 3 數(shù)據(jù)組織 3 游戲執(zhí)行流程圖 4 程序中各個函數(shù)的簡要介紹 56 推箱子游戲算法的設計和實現(xiàn) 5 地圖的繪制與讀取 5 查找人物坐標 5 鍵盤操作 6 游戲勝利的判斷 7 整合與測試 77 結束語 8主要參考文獻 9致 謝 101 引言目前,在中國乃至全世界,游戲產業(yè)已經逐漸成為微控制器領域的一個相當龐大的分支。algorithm design in the game. This design was analyzed by rules of the game, determining the task flow and analysis the system, and finally realized image load, display, mutual in and OpenCV. The design realized the basic functions of Sokoban game.Keywords: Sokoban。which is aimed at關鍵詞:推箱子;圖像處理;OpenCVProcedure Oriented Sokoban DesignAbstractSokoban game, a、顯示和游戲交互。本文主要介紹了推箱子游戲的游戲規(guī)則、需求分析、流程設計以及游戲中的主要算法的分析、設計和實現(xiàn)。安徽大學本科畢業(yè)論文(設計、創(chuàng)作)題 目: 面向過程的推箱子設計 學生姓名: 王** 學號: P010***** 院(系): 電子信息工程專業(yè) 專業(yè): 電子信息工程 入學時間: 2010 年 9 月導師姓名: 李** 職稱/學位: 副教授/碩士 導師所在單位: 電子信息工程學院 完成時間: 2014 年 6 月面向過程的推箱子設計摘 要推箱子游戲是一款很有趣味的游戲,目的在于訓練玩家的邏輯思維能力。游戲中通過控制人物上下左右移動,將箱子推到指定的地點,從而通關游戲。并通過游戲規(guī)則分析,確定任務流程,展開設計。本次設計實現(xiàn)了推箱子游戲的基本功能。very interesting game,traininglogical thinking ability of player. By controlling the porters moved from top to bottom, or left to right, and push the box to the specified location, and plete the game at last. This paper mainly introduces the rules and features of Sokoban g