Code Monkey home page Code Monkey logo

simple-chatty-bot's Introduction

Simple-Chatty-Bot

In this project, I'm creating step by step a simple bot.

For the first stage, I'm writing a bot who displays a greeting, its name and the date of its creation. Hello! My name is {botName}. I was created in {birthYear}.

At this stage, the user will introduce himself to the bot. He will greet you by your name and then will try to guess your age using arithmetic operations. Hello! My name is {botname}. I was created in {birthyear}. Please, remind me your name. What a great name you have, {yourName}! Let me guess your age. Enter remainders of dividing your age by 3, 5 and 7. Your age is {yourAge}; that's a good time to start programming!

At this stage, I am programming the bot to count from 0 to any positive number entered. Hello! My name is {botname}. I was created in {birthyear}. Please, remind me your name. What a great name you have, {yourname}! Let me guess your age. Say me remainders of dividing your age by 3, 5 and 7. Your age is {yourage}; that's a good time to start programming! Now I will prove to you that I can count to any number you want.

At this stage, I'm improving my simple bot so that it can give you a test and check your answers. The test should be about programming. My bot will continue to ask the test until the answer is correct. an option starts with a digit followed by the dot (1., 2., 3., 4.) If a user enters an incorrect answer, the bot may print a message: Please, try again.

Hello! My name is {botname}. I was created in {birthyear}. Please, remind me your name. What a great name you have, {yourname}! Let me guess your age. Say me remainders of dividing your age by 3, 5 and 7. Your age is {yourage}: that's a good time to start programming! Now I will prove to you that I can count to any number you want. Let's test your programming knowledge. Why do we use methods?

  1. To repeat a statement multiple times.
  2. To decompose a program into several small subroutines.
  3. To determine the execution time of a program.
  4. To interrupt the execution of a program. Enters 4 Please, try again. Enters 2 Congratulations, correct answer! Congratulations, have a nice day!

simple-chatty-bot's People

Contributors

jayesh-srivastava avatar

Watchers

 avatar  avatar

Forkers

pradhumna22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.