It describes location of mines on the field and a current state of each cell. The first layers is implemented in the Field class. In fact the whole Program can be divided into three layers. Each player receives one point for each mine they flagged. If the square does not contain a mine, your turn will be over. If a mine is there it will be revealed and your colored flag will be planted on it. Click your left mouse button on a square to see if a mine is there. The first player to flag more than half of the mines wins. Game objective is to find and flag mines that are concealed on the board. My single player mode works the same way.īecause MinesweeperFlags is not so well known as the classical Minesweeper I'd like to say some words about its rules. Game rulesĮveryone knows simple rules of Minesweeper. A hot seat version (both players on the same Pocket PC) was ready very soon, but my goal was a game over a Network or an IrDA. The second step was a multiplayer modification of this game (like MinsweeperFlags from MSN Messenger). After one week I had a normal single player version. So I have decided to invest a couple evenings to play with Visual Studio. One thing I always missed on my PocketPC was our old sweet Minesweeper. NET Compact Framework based application (The first was of course a HelloWorld.) and this is also my first CodeProject article. This is my version of an old, well known game and a contribution to the CodeProject Mobile Developer competition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |