Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using windows phones I need to send small amounts of data between phones in a turn based game. It's only a few bytes of data and does not need to be real time, something like in wordfeud or similar. There could be 2-4 players in one game and one players actions need to be sent to the other ones.

What would be the simplest way to manage this?

If it would be possible to easily extend to other platforms with monogame that would be nice but not a requirement right now (guess I'll cross that bridge when I come to it).

My initial hope was that this would be possible using some online service like scoreloop or openXlive that could handle all the online stuff (leaderboards, communications, social etc) but I haven't found one that can do it all.

share|improve this question

closed as off-topic by Josh Petrie Dec 30 '13 at 16:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

I guess the easiest way would be to create server for your game through which all players can interchange data, but that would require all players being online. Relatively easier in my opinion than making some wireless connection between different mobile devices and managing that. – user1306322 Mar 2 '13 at 13:14
UDP or NFC would be the best for a situation where you want to play with a group within the same WiFi zone but if you want to allow people to connect from different locations then you will have to set up a cloud service to at least handle the transaction of connecting players, retrieving the list of players looking for a game, and organizing the results. There are a few free-to-try cloud service providers(Appharbor, Windows Azure and others). – RobCurr Mar 2 '13 at 17:41
@Anko your comment doesn't really help. Anyone can post a wiki link to some related term, but without any advice on how to use it, it is rarely useful. – user1306322 Mar 3 '13 at 18:08
@user That's why I made a comment, not an answer. What I was trying to say is: What's wrong with just sockets? Would the requested abstraction be significant or generalisable enough to bother? – Anko Mar 3 '13 at 18:22
try this may be this will helpful for you. Appwarp – Shashank Shukla Aug 14 '13 at 12:21