CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Online game

  1. #1
    Join Date
    Aug 2010
    Posts
    39

    Online game

    Hi !
    I want to develop an online game played by two persons, similar to chess ( guys play on different machines through internet ). My problem is that all my life I've been doing programming of offline desktop apps and I absolutely have no idea how this whole internet thing works in terms of coding.

    First, please tell me where I should start reading and learning about this. I want to get this internet idea and implement it in my software development.

    Second, what's the best programming language would you recommend for making games like the one I mentioned ? Is it possible to do it using just MFC or should I start learning some ASP.NET, C#, Java or whatever?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Online game

    If you learn C# or VB.Net, there are many tools that help create games.
    The new Windows 7 Mobile Phone SDK lets you develop programs for the phone, and also the game box.

    Any game can be played over a TCP/IP connection. If you can write a program, you can learn how to open a connection on one end, wait for it to connect, and then send data.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Aug 2010
    Posts
    39

    Re: Online game

    Ok. Then I'll start learning C#.
    Does MFC have interface that provides operations with TCP/IP ? Thanks.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Online game

    I'd bet that it does, but I've never used it.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured