Skip to content

Project to demonstrate Coding-Guidelines and how files in project is managed using Cmake.

Notifications You must be signed in to change notification settings

pyx26266/table_booking_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBot for Table booking

Overview

A chatbot program which can be used for booking and cancellation of tables in a restaurant. If the user wants to book a table, then bot must ask A. user's name B. number of seats C. time slot Then assign a booking reference number. For cancellation, the bot will ask for the reference number and check if that number exist in its record list. Then it should display user’s name, the number of seats and time slot (which the user gave as inputs while booking), and ask him/her to confirm the cancellation. Implemented using C (Unix) Socket programming, with the user as client and server as chatbot.

Short Description:

Server,

As a chatbot, which communicates to client using some predefined codes as command. it can add, delete, and transfer record. It uses a dynamic link list to store user data in RAM only. File storage module can be possible update.

Client,

As a user client, displays menu, takes input, sends it to server. get status and data from server coordinated using some hex constants as commands. Also to run successfully on diffrent machines the data transfer between server and client should be done in basic string and integer transfer instead of the struct type.

To Run,

mkdir build
cd build
cmake ..
make

$ ./main/ChatBot 6005
$ ./main/client 6005

Releases

No releases published

Packages

No packages published