This project is a simple Chat System implemented using Object-Oriented Programming (OOP) concepts in Python. It is beginner-friendly and demonstrates real-world usage of classes, objects, and interaction between them.
- User can enter their name
- User can create or join a chatroom
- Send messages in the chatroom
- View complete chat history
- Leave the chatroom
- Menu-driven and user-friendly interface
- Classes & Objects β User, Message, and ChatRoom classes
- Encapsulation β Data and methods wrapped inside classes
- Object Interaction β Objects communicate with each other
- Real-world Mapping β Similar to WhatsApp / Telegram chatrooms
chat-system/ β βββ chat_system.py βββ README.md
- Make sure Python is installed on your system
- Clone the repository or download the code
- Run the file using the command:
python chat_system.py
This project helps beginners understand how Object-Oriented Programming can be used to design real-world applications in Python using clean and structured code.