OdeToCode IC Logo

How Did Life With WPF/E Turn Out?

Monday, January 1, 2007

A couple people asked me how my WPF/E port of Life turned out.

Life with WPF/E

Answer: it works pretty well. Here is the source code if you want to look. I built the project with an .aspx page, although I don't use any server side logic and the page could easily be plain HTML. The XAML is not fancy Expression built XAML. In fact, the board is mostly built inside script. There is just enough XAML to bootstrap the board.

<Canvas
      xmlns="http://schemas.microsoft.com/client/2007"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Height = "300"
      Width = "300"
      x:Name="gameBoard"
      Loaded="javascript: gameBoardLoaded">

<Canvas>

I'm looking forward to future releases.