This is a simple chatbot written in Java that interacts with the user via the console. The chatbot can perform basic functionalities such as greeting the user, guessing their age, counting to a given number, and testing their programming knowledge.
- Clone the repository to your local machine.
- Open the project in an IDE or text editor that supports Java.
- Run the
SimpleBot.java
file to start the chatbot. - Follow the prompts in the console to interact with the chatbot.
The chatbot greets the user and introduces itself by printing its name and birth year.
The chatbot asks the user to input their name and stores it for later use.
The chatbot asks the user to input remainders of dividing their age by 3, 5, and 7, then uses a formula to guess their age and prints it to the console.
The chatbot asks the user to input a number, then counts from 0 to that number.
The chatbot tests the user's programming knowledge by asking a multiple-choice question and prompting the user to select an answer. The chatbot will continue to prompt the user until they select the correct answer.
The chatbot congratulates the user and ends the conversation.
Feel free to contribute to this project by submitting pull requests or opening issues.
This project is licensed under the MIT License.