Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:58:53+00:00 2026-05-23T23:58:53+00:00

I am trying to create a game for users to play online using their

  • 0

I am trying to create a game for users to play online using their mobile phones, via an application, similar to Words With Friends, or other “* With Friends” games. Since I have no experience with implementing such games, I am unsure of the best practices. Do I want to minimize the amount of code that should have to run on the server, or the amount of code that should run on the client?

My intuition is to use JSON files on the server side, which stores the game state for the current game. Then every time a client opens, have it get the latest game state from the server, and prompt the user accordingly. This eliminates the need for any game-related code to run on the server, and allows the server to merely act as a middleman between all participating clients.

But what if I want the server to be aware enough to notify clients B and C when client A has completed its turn, and B and C can now take action? Do I need to then run code on the server to determine this, or can I have the client inform the server that it is/maybe time for the other clients to take a turn?

I realize that the answers to this are slightly relative, or maybe even obvious, but I was hoping to find some general direction/guidance on the matter so I can know in which direction to begin, and start thinking about the structure of my code/game mechanic.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:58:54+00:00Added an answer on May 23, 2026 at 11:58 pm

    You might want to examine the code of existing open-source social games to get an idea of how they do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out the best solution to create a game-round timer in
I am trying to detect a users Steam games that are installed on their
I am trying to write a Factory Pattern to create either a MainMode or
I am working on a web application (ASP.NET) game that would consist of a
Let’s say that I have two C# applications - game.exe (XNA, needs to support
I am creating a little game client that will end up connecting to a
Possible Duplicate: Determine device (iPhone, iPod Touch) with iOS I am making a game
Please stop me before I make a big mistake :) - I'm trying to
I was previously using has_and_belongs_to_many, and have converted to has_many :through. Here's how it
Update, Solved: After all this I found out that I was calling an old

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.