Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.05 KB

README.md

File metadata and controls

21 lines (12 loc) · 1.05 KB

DATA2410: Chatbot project (Socket Bots)

Name: Siem Fitwi

Topic: Data network and cloud computing

This project is a portfolio assignment in Data network and cloud computing topic at OsloMet university. The goal in this project is to create a communication channel with bots. The programing language used in this project is python. Based on what is mentioned in the assignment, I have solved the task by having the clients signed as a bots. Before “opening” the chat room, the server waits for four clients to be connected on the same server. When a client is connected it get identified with random bot. Then, based on the bot`s interest they will respond to suggested action to the chatroom.

Run from terminal:
  1. Open terminal (CMD) on the project file.

  2. Run server: py -3.9 server.py

  3. Run 4 separate clients: py -3.9 client.py

Run on the python file.

#!/usr/bin/env python

At top of the server and client file click the run icon.