Server for corner-based multiplayer game

I am currently in the early stages of developing a browser-based game using silverlight. The game will have many matches from 2-4 players (possibly even up to 8) and will be in turn.

The front end is Silverlight 3.0, as I have experience. I'm trying to figure out what the back end should be. Since the game is based on turns, it will not need to poll the server as often as the game in real time. The end server will include some intermediate layer that communicates between the client and the back end. The back end is a C # -based Windows service that performs validation and calculations based on user actions (attack, defense, movement, skills, leveling, etc. Etc.).

What are the advantages and disadvantages of the next level for the mid-tier communication between the Silverlight 3.0 client and the Windows C # service on the server.

  • Sockets
  • WCF / WCF Duplex Service
  • .Net RIA Services

I currently don't know anything about the three options above, however in the past I created ASP.Net web services, and at the university I did some socket program, which I basically forgot.

+3
source share
1 answer

Here is my view on things:

: , . , , . , (, ).

WCF/WCF : WCF , , , . , - . -.

WCF . , , , , , , . , WCF. , WCF Duplex , , .

.NET RIA: , , - , , . , , WCF .

: - , WCF.

+2

Source: https://habr.com/ru/post/1710216/


All Articles