Freigeben über


Internet Hearts: Guess the LOC

TechEd made me gain about 5 pounds, and my bag somehow gained 20 pounds.  (And I didn't get a single piece of swag from the Product Pavilion, I swear.)  But I'm back in Redmond after a 24-hour journey from Orlando to Seattle, due to delays at Chicago O'Hare.  I was intrigued that at the beginning of each flight, United plugged (the original) Channel 9.  Perhaps they're starting to appreciate some corporate transparency, too?  Now if United (or any other airline) employees started blogging, that would be interesting...

Anyway, as I mentioned right before TechEd, I now have the source code to Internet Hearts, and will blog about a few of the challenges in integrating new WinFX functionality.  But first, can you guess how many lines of code comprise this application (client and server)?

Some clues: It's a C++ winsock application.  It hasn't been touched since around 1999.  It uses ATL & WTL.  You can explore the client's functionality (on the "Games" menu) if you've got Windows XP.  And to be clear, I'm talking about the card game.  When I mentioned Internet Hearts to Chris Brumme, he wondered if I was talking about an online dating service! :)

Comments

  • Anonymous
    June 13, 2005
    Something to consider for Longhorn, how about P2P versions of these games? Quite often I'm sitting with folks and we all have laptops (sick I know). Wouldn't be cool if I could play a game of hearts with folks over the LAN? I would think that with managed code/Avalon this should be pretty easy to do. :-)
  • Anonymous
    June 13, 2005
    Heh, I first read "P2P" as "PSP" and was a little baffled. :) But yes, P2P is definitely something I've been thinking about when it comes time to add Indigo to the picture. You're right - it should be easy!

    But you didn't guess the size of the current code base! Anyone?
  • Anonymous
    June 13, 2005
    Regular Hearts used to be playable over a network (hence its title "The Microsoft Hearts Network"). But the network bits seem to have been removed sometime since Windows 95. :(
  • Anonymous
    June 13, 2005
    OK, I'd say around 15 KLOC.
  • Anonymous
    June 13, 2005
    45K LOC
  • Anonymous
    June 15, 2005
    On Monday I asked for guesses on the size of the Internet Hearts source base, and the highest (public)...
  • Anonymous
    September 07, 2005
    On Monday I asked for guesses on the size of the Internet Hearts source base, and the highest (public)...
  • Anonymous
    April 09, 2006
    I think Windows Hearts originally used NETDDE with a share of Hearts$ . The code is probably still there but I bet 16bit API is gone in XP .

    This should have been fixed a long long time ago, but users probably thought MS decided to remove LAN playing (rather than fix it!)
  • Anonymous
    April 09, 2008
    PingBack from http://oscar.theofficenews.com/internethartsonlinems.html
  • Anonymous
    May 23, 2008
    TechEd made me gain about 5 pounds, and my bag somehow gained 20 pounds. (And I didn't get a single piece of swag from the Product Pavilion, I swear.) But I'm back in Redmond after a 24-hour journey from Orlando to Seattle, due to delays at Chicago O'Hare
  • Anonymous
    June 15, 2009
    PingBack from http://einternetmarketingtools.info/story.php?id=5957