Life in Silverlight 4
Written by Mike James   
Wednesday, 07 July 2010
Article Index
Life in Silverlight 4
Data binding
User interaction
Computing Life
Trying it out

 

Banner

Trying it out

That’s all there is to the logic of Life and at this point you can enter a pattern and see how it develops.

 

life

       A pattern developing

Of course this being a Silverlight application there is no barrier to trying it out within this web page. As long as you have Silverlight 4 installed you should be able to see the Run button and the empty grid ready for you to draw some patterns:

 

From this point there is a lot that can be added to the basic project. Add a style to the Ellipses so that they look better, display each ellipse in a color that depends on the number of neighbours they have, add a save and load option etc.


To access the code for this project, once you have registered,  click on CodeBin.

 

Banner


The Knapsack Problem

I like problems that look simple and turn out to be really difficult. It's the way that something simple can hide a complexity that you never guessed at. Fortunately for me the universe seems to be bu [ ... ]



Getting started with Windows 7 Gadgets

Given the very real possibility that Windows 8 will have an HTML5/JavaScript framework and an app store, now is a very good time to look at the existing support for these technologies in the form of S [ ... ]


Other Projects

 <ASIN:0470534044 >

<ASIN:1430225491 >

<ASIN:1430219505 >

<ASIN:1847199763 >

<ASIN:1430230185 >

Last Updated ( Sunday, 12 September 2010 )
 
 

   
RSS feed of all content
I Programmer - full contents
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.