Multi-Room Chat
For this project I was required to program a multi-room text chat in python. Here is what was required for the project:
Client
Include text fields for the users to specify server IP address, port, name, and message
Include buttons for users to connect to the server, set or change their name, switch chat rooms, and send a message
Server
Record connected user’s name
Keep track of player room location
Only send messages to users in the same room
Deny service to incoming connections when the server has reached capacity
In addition to this, I also included push notifications that would notify all users in a particular room when someone changed their name, joined or switched to another room, or disconnected from the server.