Installation and running instructions:
- Make sure you have python installed.
- Run server.py.
- Run multiple instances of client.py (up to 5).
- Each client is required to give an id
- Each client is presented with a menu. “1” for requesting connection, “2” for exit and “3” for the common room.
- When requesting connection, enter the id of the desired client to converse with.
- When entering the desired client, and the client is free, the client will receive a notification for the request and he can accept with “y” or refuse with “n”.
- If the client accepts, a chat will commence and each message from either client will be sent to the other client.
- To close the chat and return to the menu, one of the clients needs to type “exit()”.
- In the common room, more than 2 clients can enter, and every message will be broadcasted to all the clients in the common room.