Skip to content

#11 Evaluate Client Server Communication

RaphDef edited this page Jun 7, 2022 · 14 revisions

Java or Node.js

The program language for the server is Node.js. The client programming language is Java.

Connection Evaluation

  1. The client connects to the server via a socket connection.
  2. The client can send a "search for players" request to the server.
  3. The server response back available players.
  4. If all clients are ready, the server creates a game session for the players.

The game starts

Possible Implementation

image

Source: https://socket.io/docs/v3/rooms