![]() ![]() 1×1Ī 1×1 grid is not considered practical for game purposes. Mine placement is, for intents and purposes, randomized rather than specific layouts being intentionally designed. For a given grid size, the sampled mine count is generally assumed to be equal to the calculated cap of that size unless that grid has a default mine count in a difficulty setting of Microsoft Minesweeper. Minimalsweeperįor practical purposes, the grid will be rectangular (specifically, square for the purposes of this project) with square spaces, mine count will be known ahead of time, and timers are ignored. What actually happens is if a mine is under the chosen space it is moved to an initially safe corner, starting with the top-left and going clockwise if already occupied.įor the purposes of this project, this mine-moving behavior is not implemented in the accompanying Minesweeper game, Minimalsweeper. A feature was added that guarantees the first space chosen in a new game to be safe or completely safe. There is a particularly noteworthy addition found in Microsoft's variant of digital Minesweeper. In a larger grid flood fill is essential for convenience, saving time by not requiring extra clicks to reveal completely safe spaces. Safe spaces are also revealed, though the fill does not go beyond those points. ![]() Flood filling is activated when a player reveals a completely safe space and will automatically reveal all nearby completely safe spaces. If no mine is buried but there are mines adjacent it is considered safe. When a space is revealed, if no mine is buried and there are no mines directly adjacent to that space it is considered completely safe. This project will not only display the number of mines surrounding a space, but it will also display extra calculations about that space related to the game. Nearby Minesīy virtue of being digital, most variants of Minesweeper can calculate if mines are buried under spaces adjacent to a given revealed space practically instantaneously and display the results on that space. For the purposes of this project, the timer will be rendered irrelevant or removed entirely. Psychologically, this prioritizes faster times over higher win percentages and is outside the scope of this project. In Minesweeper variants that feature a timer, there is also an accompanying list of rankings for given grid sizes and mine counts with win times ordered from fastest to slowest. The timer keeps track of how long one plays the game, and stops when the player wins or loses. A third addition, the flood fill, is often added for convenience. A timer keeps track of how long one has been playing and a revealed space will display a number signifying how many spaces directly adjacent to it contain buried mines, if there are any adjacent to it at all. ![]() Two particular additions can be found in digital versions of the game that would be difficult to implement in a physical space version. The player wins when all non-mine spaces have been revealed before triggering a mine. If a mine is buried under it revealing the space triggers it and the game is over, otherwise the player may continue to reveal spaces. The player chooses an unrevealed grid space. Microsoft Minesweeper specifically allows setting custom rectangular grid sizes from 8×8 to 30×24 and the number of mines from 10 to 667, though mine count for a W× H field is said to be capped at (W-1)× (B-1).įor the purposes of this project, the grid will be a rectangular arrangement of square spaces. Often the player can choose the dimensions of the grid as well as how many mines are hidden in the grid the default grid sizes and mine counts presented in Microsoft Minesweeper are 9×9 with 10 mines, 16×16 with 40 mines, and 30×16 with 99 mines. The Minesweeper grid is usually a rectangular arrangement of squares, though variants exists where the grid consists of non-rectangular shapes like triangles or hexagons. The grid is filled with mines indiscriminately hidden and the player must successfully uncover every single non-mine grid space. Gameplay-wise, imagine Battleship but instead of trying to hit a target you're trying to avoid it. It looks like a board game but it's best played digitally due to how long it would take to set up the grid in a physical space, as well as the addition of some useful mechanics only feasible in a digital space. Minesweeper is a game usually intended for one player, though multiplayer variants exist. Solving Minesweeper A game of probabilities by Alsonel Rosario ![]()
0 Comments
Leave a Reply. |