Minesweeper Surface Project

From IPRE Wiki
Revision as of 16:09, 5 April 2010 by Npicone (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The aim of this project is to create an implementation of Minesweeper for the Microsoft Surface. Minesweeper is a game in which the player is presented with a grid of square tiles. The tiles are blank, and when clicked on, the tile reveals either a mine or a number. The player can also mark a tile with a flag. A number indicates the number of mines found in adjacent tiles. If a player reveals a mine, the game is over. The object of the game is to use the information provided by the numbers to mark all of the mines with flags without revealing any mines.

I plan to implement the flag-laying part of the game using physical flags that the player can put on top of the Surface. The flags will likely be tagged to differentiate placing them from button presses. Another option is to trigger the reveal of the contents of the tile when the player stops pushing a button and treat flags as a button press that stays held. The problem with this is that if the player places a flag and then decides to move it, removing the flag will reveal what's under the tile.