This is a 'guess the number game' using a Linear search algorithm. This means that every time the bot guesses a number that's wrong, it increases its guess by 1. I will make more search algorithms for you to use as well, including the random search algorithm. Instructions on how it works: 1. The bot says, "Guess a number between (Lower) and (Upper)" 2. Then it guesses (Lower) 3. If it's wrong, it increases the guess by 1. If it's right, then it can say/do something of your choice.
Made for other people to use (You can change the numbers and other things too so you can use it for your project) @ShadowKitty_909