These are projects posted by the students of Dr. Gove Allen at Brigham Young University. These students have taken one semester-long course on VBA and generally have had no prior programming experience

Thursday, December 11, 2014

MineSweeper - Benjamin Smith

MineSweeper

Executive Summary

Business Description

The game of “MineSweeper” is one of the classic games that, despite
its age, seems to remain in the spotlight of gaming history. This application can serve as a base for other
number-based games and applications for a firm that focuses on game
development.

Overview of MineSweeper

MineSweeper is set up
with mines (‘x’) in randomly designated locations. The number of mines and size of the board are
determined by the user at startup. Once
the user has chosen the difficulty level and board size, the mines are placed
and cells are formatted to conceal their respective locations. To begin interacting with the game, a square
is clicked where the user hopes a mine is not located. The numbers revealed are the number of mines
in direct proximity to that cell (diagonal and adjacent).

When a mine is suspected to be located in a given square, the user may
choose to “flag” the mine (right-click) to avoid clicking on the cell later. In order to win the game, however, flagging
the mines is unnecessary. The only
requirement is leaving the squares concealing the mines (‘x’) unclicked. The flags are solely used to ease the gaming
experience for the user. This
“un-flagged” method of victory is common to MineSweeper and is the common usage
for more experienced users.

There are also additional features on the side of the game console
that provide useful information during gameplay (accompanied by instructions,
controls, grid sizes, and the number of mines for each respective level of
difficulty). This will be covered in
more detail later on with the implementation of the code.