Coding, Math Riddles, Math Tricks, Murderous Maths, Python

Number Guessing Game

Simon writes: Made a little game where the computer thinks of a number 1-100, and you try to guess it within 7 takes! Hint: the algorithm is called “Binary Search”. https://repl.it/@simontiger/NumberGuessingGame
You can also play the fullscreen version here: https://numberguessinggame.simontiger.repl.run/

Now also a reversed version, where you think of a number and the computer guesses it: https://repl.it/@simontiger/BinaryNumGuessingGame

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s