The Minesweeper Game Done in Silverlight 1.1

Thursday, November 08, 2007 by XAML Team | Comments 2

Silverlight is a Blast!

And instead of trying to convince you, we present you a well-known game in its silverlit clothes. The minesweeper! It adds to other games that in the past several weeks have shown the ease with which you can use Silverlight to create online interaction and games. It uses no fancy frameworks but underlines the simplicity and straightforwardness of Silverlight development.

The number of mines and the rows/columns are configurable. To mark a mine - instead to click with the right mouse button, click with the left mouse button while holding the CTRL or SHIFT key.


Try the game:

The Minefield Project

Concepts presented:

- Controls in ver. 1.1: Control creation and reusing.

- Storyboards: Animations and reversing storyboards.

- Auto-Finding: Harness the power of reflection and forget about XAML to fields binding.

- Event Handling: Mouse and custom events galore!

- Function call delay: A simple call delay that fits in nicely wherever it is needed.

Enjoy!

2 Comments

  • Reno 18 Apr
    Here's another Minesweeper in Silverlight: http://nine.co.za/showcase/silversweeper/
  • Cool games 30 Apr
    Try Fairie minesweeper

Add comment

  1. Formatting options
       
     
     
     
     
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)