Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Online Game - Communication Method?

Online Game - Communication Method?

Scheduled Pinned Locked Moved C#
xmlcsharpjavadatabasewcf
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric Astor
    wrote on last edited by
    #1

    I'm designing an online version of a complex card game, where the rules are constantly changing (Fluxx, for any who know it). I'm keeping the actual game logic on the server. The communications between the clients and server is my only problem, however. I hope to create a Java client in addition to a .NET one (several of my close friends who play the game use Macintoshes), so I can't use Remoting. Web Services seemed promising, but I definitely need a highly controlled persistent-state connection. I have a basic design for a persistent-state XML-based connection, but I'm hoping I'll be able to avoid the hassle of creating programmatic logic to create the message (and avoid having to create a DTD or Schema, since the messages could be complex). So, I'm looking for some good ideas. Any contributions will be extremely welcome. (Oh, and if I end up posting the game onto CodeProject, I'll give credit for any contributions used.) Thank you in advance, Eric Astor

    K 1 Reply Last reply
    0
    • E Eric Astor

      I'm designing an online version of a complex card game, where the rules are constantly changing (Fluxx, for any who know it). I'm keeping the actual game logic on the server. The communications between the clients and server is my only problem, however. I hope to create a Java client in addition to a .NET one (several of my close friends who play the game use Macintoshes), so I can't use Remoting. Web Services seemed promising, but I definitely need a highly controlled persistent-state connection. I have a basic design for a persistent-state XML-based connection, but I'm hoping I'll be able to avoid the hassle of creating programmatic logic to create the message (and avoid having to create a DTD or Schema, since the messages could be complex). So, I'm looking for some good ideas. Any contributions will be extremely welcome. (Oh, and if I end up posting the game onto CodeProject, I'll give credit for any contributions used.) Thank you in advance, Eric Astor

      K Offline
      K Offline
      Kannan Kalyanaraman
      wrote on last edited by
      #2

      Ok this is not the answer to your question, but have you tried terrarium[^] I believe its purely a p2p kind of architecture, you should be able to derive some ideas from that one. Kannan

      E 1 Reply Last reply
      0
      • K Kannan Kalyanaraman

        Ok this is not the answer to your question, but have you tried terrarium[^] I believe its purely a p2p kind of architecture, you should be able to derive some ideas from that one. Kannan

        E Offline
        E Offline
        Eric Astor
        wrote on last edited by
        #3

        I have tried Terrarium, but its P2P architecture doesn't really fit the model of a card game. My client/server model, with all logic localized to the server, seems to be a more appropriate architecture.

        Also, I would assume that the Terrarium communication method is probably a .NET-based proprietary solution, and therefore unfit for creating connections between a .NET server and a Java client (which is the final goal of my connection scheme, as I want to be able to play this game with my Macintosh-using friends).

        Kannan, thanks for the suggestion, but I don't think the approaches used for Terrarium really fit an online card game. Eric

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups