Announcing www.winfxhearts.com!

To correspond with my PDC talk about making an application "light up" on Windows Vista, I've created www.winfxhearts.com.  This site has a ClickOnce link that enables you can play a version of my new & improved Internet Hearts game.  Here's a "before & after" look:

   

This is still the good ol' Win32 application, but with a dramatically different user experience thanks to WPF and ClickOnce.  In the screenshot above, the reddish part of the new UI uses WPF (Avalon), but the chat window, menus, etc. are still Win32.  And of course the game logic is still the same.  There's no need to rewrite it!

Again, I promise to blog more details after the (and not just about Avalon & ClickOnce, but Indigo, Windows Vista, plus the experiences of upgrading to VC8 & using /CLR).  In the meantime, go ahead and try the game, or look for the Channel 9 video about WinFX Hearts & WPF (scheduled to appear on Monday).

You can play this version on Windows Vista Beta 1, Windows XP, or Windows Server 2003, as long as WinFX Beta 1 is installed (and a post-Beta 2 version of the .NET Framework is not installed).  If you're going to , you can play the game on machines in the "Windows Vista Test Drive" Commnet area through Tuesday (9/13).

Sure, it's not as popular a game as Solitaire or Spider Solitaire, but hopefully the opportunity to play humans is an incentive.  Before entering a game, you get to choose a name and a picture (either a standard one or any image on the web!):

   

The game doesn't begin until four players have joined, so you might have to wait awhile to play (or convince some friends to join at the same time)!

Post any questions/issues/comments here.  Enjoy!

Published 08 September 05 07:30 by Adam Nathan
Filed under: , ,

Comments

# Steven R said on September 8, 2005 10:53 AM:
That's awesome Adam! Very cool stuff.
# Drew Marsh said on September 8, 2005 12:14 PM:
Wow, really nice Adam.
# Microsoft News Tracker said on September 8, 2005 1:34 PM:
Adam Nathan is providing it in Announcing www.winfxhearts.com!

...
# Erwyn van der Meer said on September 8, 2005 2:45 PM:
Come and play WinFX Hearts! I am waiting for three more players to be able to start a game ;)

WinFX Hearts is the old Internet Hearts application with a new look....
# JD said on September 13, 2005 4:58 PM:
Looks cool and I can't wait to see the Avalon code.

I wonder though... Letting people pick their own pictures is an idea that probably won't survive... The games won't even let me chat except for preselected phrases, are you really going ot expose some kids to lewd pictures from random people on the 'Net?


# Emerson said on September 21, 2005 12:04 PM:
I saw your channel 9 thing and it was interesting, but i came here expecting to find some source code.

As a developer you must know that we all learn fastest by seeing other peoples code. So why not just cut loose and show it, even if its just the interop bits.

Often a few lines of code can really make things click for a programmer, but having the whole project before and after would be even better.

I really wish your company would get this, poking holes in a black wall of documentation is so much more difficult than just seing a concrete example. After all, whats the point of all this blogging and evangelism if your just going to keep your target audience at arms length.

Let go of the fear, release the source.
# Will said on September 21, 2005 5:03 PM:
Sadly I keep getting this error:

http://img199.imageshack.us/img199/7568/untitled7sc.png

Dont get it. It downloaded and installed fine and I meet system requriments. :(

Any help?,

Will
# Adam Nathan said on September 21, 2005 8:43 PM:
Emerson, you'll be happy to know that we are indeed sharing the complete before & after source code. Look for it at winfxhearts.com very soon. I hope to at least post the "before" code tomorrow.

Will, unfortunately the screen shot doesn't give me enough info. Feel free to contact me directly and we can dig into it further.
# Patrick said on January 20, 2006 11:04 AM:
Still waiting for the migration guide VS6 to VS8... Any news about that?
# Adam Nathan said on February 13, 2006 2:52 PM:
Patrick, the latest content specific to VC migration is here: http://msdn.microsoft.com/visualc/previous/migrating/default.aspx.  Let me know if you're looking for something else!
# ejthomas said on March 29, 2006 1:08 PM:
Any chance you are planning to port this to WinFX Feb CTP or the upcoming Beta 2?
# Adam Nathan's Win32 to WinFX Blog said on May 4, 2006 11:07 AM:
Recently Tim shared some code for extending Windows Vista Aero "Glass" inside a Windows Forms window. ...
# Aero Glass inside a WPF Window » MSBLOG said on June 12, 2006 11:21 PM:
PingBack from http://www.msblog.org/?p=771
# .NET MVP KenLin's Blog said on June 19, 2006 10:24 PM:
Searching from google about WPF, I found a cool blogger. His name is Adam Nathan, He is good in Win32API...
# Adam Nathan's Blog said on March 21, 2007 3:50 AM:

Recently Tim shared some code for extending Windows Vista Aero "Glass" inside a Windows Forms window

# TrackBack said on June 19, 2007 5:39 AM:

Adam Nathan is giving a talk at the PDC on Thursday about making an application

# Adam Nathan s Blog Announcing www winfxhearts com | Insomnia Cure said on June 8, 2009 6:45 PM:

PingBack from http://insomniacuresite.info/story.php?id=5446

# Adam Nathan s Blog Announcing www winfxhearts com | home lighting said on June 13, 2009 10:01 PM:

PingBack from http://homelightingconcept.info/story.php?id=3712

# Adam Nathan s Blog Announcing www winfxhearts com | debt consolidator said on June 19, 2009 10:30 AM:

PingBack from http://mydebtconsolidator.info/story.php?id=11475

New Comments to this post are disabled
Page view tracker