Migrating Internet Hearts to WinFX

Last year, Chris Sells wrote a series of articles in which he set out to rewrite Solitaire using Avalon.  The lack of scaling graphics in the Win32 version (and lack of access to its source code, I suppose) forced him down the road of rewriting the app from scratch.  Plus, the point was to explore "the initial decisions developers will make when building new applications targeting Longhorn."  (This was before WinFX got decoupled from Longhorn and made available for Windows XP & Windows Server 2003.)

This year, I'm going to create a new WinFX-enabled version of Internet Hearts (the not-as-popular card game that also ships with Windows XP).  But the focus is going to be on migration rather than starting from scratch.  I'll gradually replace the UI with Avalon and the communication with Indigo.  After all, I want to focus on the cool stuff; not rewriting the basic logic.  I'll share results as I go along, and hopefully I'll be able to share the source code, pre-migration and post-migration!

I want to give special thanks to Steven Goulet (one of the folks on my new team), who came up with Internet Hearts as a great example application that could benefit from Avalon & Indigo.  He also did the legwork of getting permission for the original source code.  So without him, this would not be possible!

Published 02 May 05 11:59 by Adam Nathan
Filed under: , , ,

Comments

# Jeff Parker said on May 3, 2005 8:18 AM:
This is a great Idea. I am definately going to be watching this one. A great way to take an older application we all know and give it a bit of a lift and we can learn it all at the same time.
# Adam Nathan's Win32 to WinFX Blog said on May 3, 2005 12:37 PM:
Looking at the card games that ship with Windows XP, I think one of the most obvious opportunities for...
# Adam Nathan's Win32 to WinFX Blog said on June 13, 2005 1:00 PM:
TechEd made me gain about 5 pounds, and my bag somehow gained 20 pounds.  (And I didn't get a single...
# Adam Nathan's Win32 to WinFX Blog said on July 14, 2005 1:22 PM:
Today Raymond talks about marketing tweaking PDC talk descriptions and some little-known history...
# Adam Nathan's Win32 to WinFX Blog said on July 14, 2005 8:27 PM:
Today Raymond talks about marketing tweaking PDC talk descriptions and some little-known history...
# Adam Nathan's Win32 to WinFX Blog said on September 7, 2005 6:19 PM:
Looking at the card games that ship with Windows XP, I think one of the most obvious opportunities for...
# Adam Nathan's Win32 to WinFX Blog said on September 7, 2005 6:20 PM:
TechEd made me gain about 5 pounds, and my bag somehow gained 20 pounds.  (And I didn't get a single...
# Adam Nathan's Win32 to WinFX Blog said on September 7, 2005 6:21 PM:
Today Raymond talks about marketing tweaking PDC talk descriptions and some little-known history...
# Adam Nathan's Win32 to WinFX Blog said on September 7, 2005 6:21 PM:
In order to update Internet Hearts with WinFX features, I'm going to leverage C++ Interop and recompile...
# kelly browne said on February 18, 2006 5:03 AM:
please do not ask me for my email address. as my friend gave in her email address to a website and they sent her thousands of emails a day.can i trust this website?
# Mark S said on March 15, 2006 11:19 PM:
Do you think you could upgrade your card sample to the Feb CTP? I am having many difficulties compiling it. I used XamlMigrate as well.

Thanks
# cardgames said on August 2, 2006 5:32 PM:
cardgames <a href=http://cardgames.noneto.com>cardgames</a>
# cardgames said on August 15, 2006 4:48 PM:
cardgames <a href=http://cardgames.noneto.com>cardgames</a>
New Comments to this post are disabled
Page view tracker