The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Create a multiplayer word game

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #41847

    What is the simplest way to make a multiplayer game in javascript. I am trying to create a game in which the players make a text response to a prompt in a limited amount of time. Then all the users answers are displayed and they vote on the best ones. My problem is I have never built anything with multiple users and am not sure what the best way to add that function is. I have only used plain javascript without any fancy frameworks or libraries.

    Here are the steps I am trying to achieve.

    1. player enters lobby and waits for a round to begin
    2. all players receive a prompt and can enter text into text box(this will probably be an overlay)
    3.all players responses are displayed
    4. players vote on their favorites excluding their own
    5. votes and other scoring are tallied, displayed, and updated
    6. reset/repeat


    the easiest way of doing this is by [node.js]( “node.js”) and then a Websocket. my suggestion is []( “”).
    there are several good tutorials on how to create chatrooms with and then just modify it for your needs.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.