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

  • Home
  • SEARCH
  • 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 7687581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:44:06+00:00 2026-05-31T19:44:06+00:00

There is a game called Verbosity (it’s a Game With A Purpose) and it’s

  • 0

There is a game called Verbosity (it’s a Game With A Purpose) and it’s on this link
http://www.gwap.com

in the game they connect two players randomly to play with each other, the game is that player1 should describe a word to his partner(player2) and player2 should gues the word.
I’m trying to build a website that do something like that, but I wonder

1- how I can connect two players randomly to let them play together although they are not registered users ( they are just guests to the website )?
2- how to make them playing in private game, i mean each two players are playing their own game?
3- What would I need to use? Is it enough to use ASP.Net? Do I need silverlight?
Thanks

  • 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-31T19:44:07+00:00Added an answer on May 31, 2026 at 7:44 pm

    In my understanding we have two logic entities:

    Games: involve interactivity between two players in private

    Players: Visitors (anonymous) of a web site

    I will start with Players because it’s easier. A visitor lands on your site and there is a need to (uniquely) identify him. The easiest solution is a Guid that can be used as a session parameter or as a session cookie (my suggestion). Guid is not a nullable type so any Guid of 32 zeros will be our undefined Guid.

    Having your GUIDed visitors, you need a key/value collection that will connect them to games.

    Scenario 1:
    Each visitor can be a player for only one game at a time. A Dictionary<player, game> can do the job and visitors who are not players can easily be traced (game = undefined Guid)

    Scenario 2:
    Each visitor can be a player for many games at the same time. A Dictionary<player, List<game>> is the solution but game = undefinedGuid will become List.Count = 0

    Now let’s see what you can do with games. First of all you can use GUIDs to identify your games. This means that your players dictionary will be Dictionary<Guid, Guid> for scenario 1 or Dictionary<Guid, List<Guild>> for scenario 2. Obviously you will need a key/value collection for the games, let’s say in the form of Dictionary<gameGuid, gameDetails>. GameDetails must be a class holding the necessary information that can define the interactivity between the players. In other worlds this class must include the role of each player (role 1: the one who asks or role 2: the one who is guessing) and the messages they exchange as a key/value collection where key is the player Guid and value is a string message.

    To summarize you will need two static dictionaries defined in your global.asax, one for the players and one for the games. You will also need a GameDetails class similar to this (basic concept implementation):

    class GameDatails
    {
      public Guid Role1 { get; set; } // holds the guid of the player who asks
      public Guid  Role2 { get; set; } // holds the guid of the player who guesses
      public List<KeyValuePair<Guid, string>> Messages; // holds the player/message pairs
      public GameDetails(Guid role1, Guid role2)
      {
        this.Role1 = role1;
        this.Role2 = role2;
        this.Message = new List<KeyValuePair<Guid, string>>();
      }
    }
    

    Adding and removing players is easy as well as games (players are connected to games).

    There are a lot of other things you can do (ie the one who guesses quits and you randomly assign another player to continue etc).

    More or less this is also the way to make an asp.net chat with private rooms. It may be helpful for you to find and check a good sample of a simple asp.net chat script, see the logic and the implementation and adapt them to the above. In addition you can extend the chat script to support private rooms and have two applications instead of one.

    Needless to say that asp.net is more than enough for your project. What you have to take in account is that if you cannot control you application pool recycling you will also need a persistence layer otherwise you may loose your dictionaries.

    If you need more help just let me know.

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

Sidebar

Related Questions

This is basically a tic tac toe game, and I have another form called
There is that app called turkey blast: reloaded (link below). The graphics and animation
I have this main scene in a game and I have called the menu
I'm programming a simple game. There is a structure I created called scene. Within
I'm coding up a GUI game of craps. There is a JButton called roll
I am creating a mining calculator for a game called eve. In eve, there
I have a class in my game called Core where most Managers reside. They
Are there any game engines for iPhone?
I wonder if there are any game engine written in Scala or easily accesible
I have developed an AJAX based game where there is a bug caused (very

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.