/chat-room-bot

Chat Room with BOT

Primary LanguageJavaScript

Chat Room with BOT Example

This is a chat room with very simple BOT that you can talk with. This project was built with Create React App.

Chat Room

Features

  • Login with name.
  • List of Bot with unique name and avatar.
  • The BOT list will be auto refreshed, and talk randomly.
  • Chat with BOT by includes @id in the message.
  • Random indicator with probality, "online", "away" and "playing" in BOT list.
  • Append the BOT's ID by clicking @id in the BOT List.

Need To Be Improved

  • Unit test.
  • Deploy to Heroku.
  • Better reply by random answers.
  • Save converstation in browser (LocalStorage).
  • Logout.
  • Decouple the botHandler from InputArea.
  • BOT should be "away" or "offline" after the conversation ends.