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