摘 要:随着网络的普及,计算机游戏逐渐成为娱乐生活的主流。论文基于Visual C++ 6.0开发平台,采用C++语言与GDI技术开发了大众娱乐的扫雷游戏。首先通过需求分析确定扫雷游戏主要由布雷和扫雷两部分组成,然后对游戏过程中各事件处理和利用“递归”调用等技术手段实现扫雷游戏。整个游戏设计简单明了、实用,操作简单容易上手,可以作为人们放松娱乐的首选。
关键词:Visual C++6.0;扫雷;递归6834
Design of the Minesweeper Game
Abstract: With the popularity of the Internet, Computer games have gradually become the mainstream entertainment. Paper is based on the Visual C++ 6.0 development platform, using C++ language with GDI technology development of public entertainment minesweeping game. First determine minesweeping game is mainly composed of mine-laying and mine-sweeping through demand analysis, then each event in the course of the game processing and the use of “recursive” calls and other technical means to achieve a minesweeping game. The entire game design is simple, practical, simple easy to use, can be used as the first choice of entertainment people relax.
Key words: Visual C++6.0; Minesweeper; Recursion
目 录