 Hello everyone, welcome back to our channel. I hope you all are safe and sound. In the past 2-3 months, I'm sure you must have tried out every trivia game there is out there, including the famous logo quiz. After having played so many of them, how about making our own version? In this video, we'll show you how to make your own logo quiz. This is a laptop or a computer with latest version of PictoBlogs downloaded and a good internet connection. You'll also read images of some famous logos for the quiz. Visit the link given in the description box to download the images which we will be using. Also, you can download the all-new PictoBlogs from the link given in the description box. Let's begin by adding the Artificial Intelligence extension, Open PictoBlogs. To work with the all-new AI and ML extensions, you need to keep two things in mind. First, that you must sign in or login into PictoBlogs from here. Second, you must have a good internet connection. Click on the Board button and select Evive. Click on the Add extension button. Choose the Artificial Intelligence extension and wait for a little while till the models get loaded. Let's begin by adding the Sprites. In our case, we will have the logos of the brand that we'll be using in our quiz as Sprites. Thus, let's upload the logos one after another. Click on Choose a Sprite button and choose Upload Sprite and add the first logo. Rename the Sprite to Logo. We'll add a rectangular box around each logos. Thus, click on the rectangular box icon and draw it around the logo. Make sure that you keep the fill as transparent and outline size as 20. Select the logo and the rectangle together and resize it to the dimension of 200 by 200, which you can have a look from the card here. Now to make sure that the position of all the logos are same, drag and drop the logo and the rectangle such that the top corner touches the center part. Set X as minus 30 and Y as 80. Similarly, we'll be adding other few logos too. But make sure to upload other logos as the costume of the logo Sprite. Copy pasty rectangle around the other logos too and resize and reposition them like in the previous logo. We have added a few. You can add as many as you want. Now let's set our stage. Click on the Stage palette. Now click on Choose a Bag Drop button and choose Blue Sky from the library. Now let's add a small text on the Bag Drop. Thus, click on Bag Drop using the text tool Write Logo Quiz. Now that the stage and the Sprites are ready, click on the code tab to start the script. Select Toby Sprite. We need to execute the program as soon as we click on the green flag. Thus, drag and drop the event flag clicked hard block from the events palette. Now we will make three variables for hints, scores and the hint letters given. Thus, go to the Variables palette and click on Make a Variable button. Make the variables, hint letters, score and hints one after another. Uncheck the hint letters checkbox as we will only be showing the score and the number of hints left on the stage. Set hint letter to one, score to zero and hints to three. From the Controls palette, drop the forever block to run the script continuously. As we need the computer to recognize grants from the stage, drag and drop the Recognize Image features in Image from the Stage block from the Artificial Intelligence palette. With the help of this block, you will be able to recognize image features such as face details, recognize handwritten text and printed text from either a backdrop, stage or costume of the sprite. To ask the user to guess the logo of the brand shown, drag and drop the Ask block from the Sensing palette. Write which brand's logo is this in the space given. To check if the answer is correct or not, get the if-else block from the Controls palette. The answer is correct when the recognized brand is equal to the answer written by you. Thus, place an equal to block from the operator's palette. Drag and drop recognized brand name reporter block from the Artificial Intelligence palette and place it into the first input. This block contains the answer obtained by processing the image with the AI blocks. Place answer reporter block from the Sensing palette into the second input. If the answer is correct, we will change the score variable by 2. And we will make Toby say yes, correct answer. Also before moving on to the next logo, Toby will say, your next logo is, thus, place another say block below it. Now we'll broadcast the message, change logo to bring on the next logo costume. Select the logo sprite. Drag and drop the when I receive broadcast block from the Event's palette. Step the next costume block from the Look's palette below it. Now let's go back to the main script. If any hints were used in the previous round, then to again start with the first letter of the brand name, we will set the hint letter to 1. Now let's write the script on what to do if the brand guest is wrong. We will make the Toby say how the letters of the name of the logo as a hint to help the users guess the logo correctly. So for each hint, we will reduce its value by 1. If the number of hints is less than 0, then we need to stop the game. Thus, place another if block below the change by block. Drag and drop the less than block into the hexagonal space. Place the hint reporter block into the first input and write 0 in the second. Drag and drop the say block into the if arm and write game over into it. To stop the script, place stop all block from the control's palette. Now, we will make Toby say out loud the letters one after another. Thus, place a say block. Drag and drop the join block from the operator's palette into the space given. Write the letter add position into the first input and place another join block into the second input. Drag and drop the hint letter reporter block into the first input and add another join block into the second input. Let's minimize the stage for a little while to get a better view of the code. Write in logo name is into the first space and another join block into the second. Place the hint letter reporter block into the first input and recognized brand names in the second input. As we have provided the hint, change the hint letter by 1. As the script is ready, click on the green flag to start the script. Logo quiz and challenge your friends and family. Don't forget to share the results with us in our picture blocks community on Facebook. If you like this video, subscribe to Stempedia and follow us on Facebook, Instagram and Twitter. Bye bye, stay safe.