8000 GitHub - KatiePro/NumberGuessingBot: A Numeber Guessing Bot that generates a random number 1-20. Users guess what the number is and receive a messge back that says if their guess is too low, too high, or correct.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Numeber Guessing Bot that generates a random number 1-20. Users guess what the number is and receive a messge back that says if their guess is too low, too high, or correct.

Notifications You must be signed in to change notification settings

KatiePro/NumberGuessingBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumberGuessingBot

A bot that introduces a number guessing game. The bot chooses a random number 1-20 and prompts the user to guess that number. With each guess, the bot responds with "The number is higher," "The number is lower," or "You are correct!" The bot will also track the total guesses it took to get to a correct answer.

Example conversation:

Bot: Welcome to the number guessing game! Guess a number from 1-20.

User: 12

Bot: The number is higher.

User: 16

Bot: The number is lower.

User: 14

Bot: You are correct!

Bot: You found the right answer in 3 tries. Good work!

About

A Numeber Guessing Bot that generates a random number 1-20. Users guess what the number is and receive a messge back that says if their guess is too low, too high, or correct.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0