ScratchData LogoScratchData
Back to PaulSinnett's profile

Animals

PAPaulSinnett•Created October 20, 2013
Animals
154
126
8604 views
View on Scratch

Instructions

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.

Description

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.

Project Details

Project ID13416580
CreatedOctober 20, 2013
Last ModifiedFebruary 28, 2025
SharedOctober 20, 2013
Visibilityvisible
CommentsAllowed