- Run: python server.py – start the server
- Run: python client.py – Connect as many clients as you want and run commands
- Type /help for list of commands
- Python 3.10+
- /list --- Lists all the rooms available to join
- /exit --- exits program, user leaves all rooms
- /create <room_name> --- creates a joinable room
- /join <room_name> --- connect to room
- /leave <room_name> --- disconnects from room
- /view <room_name> --- detailed information about room (users and capacity)
- if user is not entering command, they will broadcast the message to all room they are in. In short, don’t type / to send messages to room(s).
- User doesn’t automatically join room upon creation, you must join the room after creating it
- Run each file in separate terminal
- Hard coded connects to localhost (127.0.0.1) and port 3001