Think of an animal and answer Scratch's questions by clicking on the tick or cross buttons. If Scratch can't guess your animal, enter a new question to tell between Scratch's guess and yours. Remix this project and save it so that your answers are added to Scratch's list of guesses. The more times you play, the more chance Scratch has of guessing your animal. Update: I've made it easier to remix. To make your own guessing game, set the variables "themed thing" and "my favourite" and then click on the reset block. This will start your own themed guessing game. So if you want to make a famous film guessing game, set "themed thing" to "famous film" and "my favourite" to your favourite film, and then click the reset block.
If you like making your own games, join our club here: https://croydonlibrarycodeclub.github.io/join.html The guesses are stored in a list called animals. Each guess uses 3 entries in the list. First is a question which tells between possible answers, second is the index of the next question if the answer is yes, and third is the index of the next question if the answer is no. This is a binary tree data structure. By looping through the questions, Scratch can narrow down the options until the next guess is 0. Scratch wins if the answer to the last question is yes and loses if the answer is no. When the answer is no, the player then adds a new animal to the tree with a new question.