{"id":5460,"date":"2022-03-28T11:18:16","date_gmt":"2022-03-28T11:18:16","guid":{"rendered":"https:\/\/brightchamps.com\/blog\/?p=5460"},"modified":"2024-10-15T07:52:22","modified_gmt":"2024-10-15T07:52:22","slug":"create-fruit-ninja-game-in-scratch","status":"publish","type":"post","link":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/","title":{"rendered":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide"},"content":{"rendered":"<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/brightchamps.com\/blog\/\">Home<\/a><\/span> \u00bb <span><a href=\"https:\/\/brightchamps.com\/blog\/code-for-kids\/\">Code for Kids Corner<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\"><strong>How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide<\/strong><\/span><\/span><\/div>\n\n\n<p class=\"wp-block-paragraph\">Do you ever wonder who created us?? Who created the objects, the actions, and the life cycle of everything?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Although we are unsure of the precise answer to the first query, the majority of us might respond that God created us all or that the Big Bang Theory was responsible for our creation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But what if I say, we can also become creators, we can also give a face to our imaginations?&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/02\/Free-Kids-Coding-Resources-1024x512.jpg\" alt=\"Scratch Coding\" class=\"wp-image-4006\" width=\"768\" height=\"384\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the coding world, you are indeed the creator; you can create your imaginary world, characters, actions, objects, and so on. The sky is the limit here.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, what is the most critical aspect of becoming a coder?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, my friend, your imagination and a basic understanding of coding concepts.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, let&#8217;s talk about the platform where we can perform all of this magic.<\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-what-is-scratch-programming\" data-level=\"3\">What is Scratch Programming<\/a><\/li><li><a href=\"#h-life-cycle-of-coding\" data-level=\"3\">Life Cycle of Coding\u00a0\u00a0<\/a><\/li><li><a href=\"#h-how-to-create-a-fruit-ninja-game-in-scratch\" data-level=\"2\">How to Create a Fruit Ninja Game in Scratch<\/a><ul><li><a href=\"#h-variables-to-store-values\" data-level=\"3\">Variables to store values<\/a><\/li><li><a href=\"#h-adding-extension\" data-level=\"3\">Adding Extension<\/a><\/li><\/ul><\/li><li><a href=\"#h-testing-and-debugging\" data-level=\"2\">Testing and Debugging\u00a0\u00a0<\/a><\/li><\/ul><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-is-scratch-programming\"><strong>What is Scratch<\/strong> Programming<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scratch is the largest coding community for young minds and a coding language with an attractive visual interface that allows us to <a href=\"https:\/\/brightchamps.com\/blog\/create-first-scratch-project\/\">create games<\/a>, stories, and animations.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Scratch is designed, developed by &nbsp;MIT Media labs in 2007. Its block-based drag-and-drop feature and its colorful interface make it stand out from the traditional coding languages.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Scratch is available in more than 70 languages. Scratch enables our kids to l<a href=\"https:\/\/brightchamps.com\/blog\/time-taken-to-learn-scratch-coding\/\">earn coding<\/a> which helps them develop logical and creative thinking, problem-solving skills, analytical thinking, decision-making, it boosts their confidence level.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other words, it prepares children for the future.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s take a look at <a href=\"https:\/\/brightchamps.com\/blog\/scratch-coding-for-kids\/\">scratch coding for kids<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-02-1024x475.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5662\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-02-980x455.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-02-480x223.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Before we start, I suggest you go through the scratch once and go through all the blocks.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-life-cycle-of-coding\"><strong>Life Cycle of Coding&nbsp;&nbsp;<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Defining Purpose <\/strong>&#8211; The Coder should always be clear about what type of App or game they want to make.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here our purpose is to create a game that will be played using a video-sensing extension for entertainment. We want to cut fruits with our hand movement and we have to avoid touching bombs.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Algorithm Development<\/strong> \u2013 An Algorithm is a step-by-step procedure needed to reach a certain goal.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, our goal is to create a Fruit Ninja game. Let\u2019s create a simple algorithm here, before actually creating our program.&nbsp;&nbsp;<\/p>\n\n\n<div id=\"cstm_banner_cta\"><\/div>\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Algorithm for Fruit Ninja Game:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select Backdrop&nbsp;&nbsp;<\/li>\n\n\n\n<li>Select Sprites&nbsp;&nbsp;<\/li>\n\n\n\n<li>Create all the Variables&nbsp;&nbsp;<\/li>\n\n\n\n<li>Make fruits and bombs appear randomly on the screen&nbsp;&nbsp;<\/li>\n\n\n\n<li>When fruit is cut, change its costume&nbsp;&nbsp;<\/li>\n\n\n\n<li>Make a timer for the game&nbsp;<\/li>\n\n\n\n<li>Broadcast messages for sprites to communicate with each other&nbsp;&nbsp;<\/li>\n\n\n\n<li>Adding a background music&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-create-a-fruit-ninja-game-in-scratch\"><strong>How to Create a Fruit Ninja Game in Scratch<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Design<\/strong>: Design refers to the visual part of the program; it\u2019s about how our game or App will look when we run it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Backdrop selection, Sprites selection, Graphics,&nbsp; Text, Objects, etc. come under this section.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-03-1024x479.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5663\" style=\"width:768px;height:359px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-03-980x458.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-03-480x224.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In our game, we will select two different backdrops. After we&#8217;ve chosen the backdrop, we&#8217;ll select all of the sprites of fruits, bombs, an empty sprite, and a sprite of any character, in this case, Ballerina.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;re probably wondering, why an empty sprite? So, using an empty sprite isn&#8217;t required; I just did it to make coding look easier; if you want to write these codes for Ballerina, you can.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select a fruit, now, we will go to costumes on the left side, make a duplicate costume, and cut the duplicated fruit costume using the \u2018Eraser\u2019 tool to look like it is cut into two pieces.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select the backdrop, edit it, and write the game&#8217;s introduction, as shown above. Feel free to write whatever you want. Always remember, here you are, the creator. After designing our game, we will start coding.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Coding<\/strong>: This is the essential part of this life cycle, here, we are creating the program, Coding is the way of communicating with the computer.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We give all the commands or instructions to the computer in a proper sequence to make our program work perfectly. One wrong code or incorrect order of commands can lead to some unwanted results.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we will start coding from our empty sprite named \u2018Variable\u2019. You can give it any name of your choice.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You must know that if we want to store or keep something, we must have a location.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if you want to keep chocolates, you can put them in your pocket, add more, or take them out whenever you want.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Similarly, if you want to store or save data while developing a program, you must have a suitable location for it. This location is known as &#8216;Variables.&#8217;<\/p>\n\n\n<div id=\"cstm_banner_cta\"><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-variables-to-store-values\"><strong>Variables to store values<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We need variables in this program to store values. Let&#8217;s look at why they&#8217;re used.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Time<\/strong> \u2013 This is the timer for the game. We want this game to run for 90 seconds.&nbsp; <\/li>\n\n\n\n<li><strong>Launch Pick <\/strong>\u2013 This variable is created to choose the fruit and bomb randomly to be thrown.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Score<\/strong> \u2013 This variable will display our score, i.e., how many fruits we have cut.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Y velocity<\/strong> \u2013 This variable will be used to make our fruits or bomb slowly fall to the bottom.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Steps<\/strong> \u2013 Steps will be used to make our fruits and bomb be thrown at some random speed.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Wait time<\/strong> \u2013 It defines the time interval for throwing fruits and bombs.&nbsp;&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-04-1024x474.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5664\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-04-980x453.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-04-480x222.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-adding-extension\"><strong>Adding Extension<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the above picture, you can see that we have used the \u2018When Start button clicked\u2019 event, now let\u2019s understand \u2018Events\u2019.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Events are the blocks that trigger something to happen. In Scratch,&nbsp; Events are yellow. There are many events available in <a href=\"https:\/\/brightchamps.com\/blog\/guides\/scratch-programming\/\">Scratch<\/a>.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We want to make these objects i.e., fruits and bombs, to be thrown according to the time remaining in the game.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When time is greater than 60 seconds, the wait time between the objects to be thrown will be 3 seconds, when time is less than 60 seconds but more significant than 30 seconds, that wait time will be 2 seconds.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Likewise, when the time is less than 15 seconds, the wait time will be 0.3 seconds.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other sequences of codes, we want these objects (4 fruits, one bomb) to be picked up randomly to be thrown, and then we are broadcasting \u2018start\u2019.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Broadcasting is used to make our sprites and backdrops communicate with each other. This process of communication between objects is known as \u2018Encapsulation\u2019.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this case, we want our objects to be triggered to be thrown after receiving the &#8216;start&#8217; message.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the other sequence, we&#8217;ve added a &#8216;Video Sensing Extension&#8217; from the &#8216;<a href=\"https:\/\/brightchamps.com\/blog\/scratch-extensions\/\">Add Extension<\/a>&#8216; menu on the lower left side of the screen, which is used to cut objects with visual movements.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"478\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-05-1024x478.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5665\" style=\"width:768px;height:359px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-05-980x457.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-05-480x224.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the above picture, we have used a sound clip to run the entire game. We have also defined the timer for the game, which will be activated once the \u2018space\u2019 key is pressed and when the timer reaches 0, we will broadcast a message \u2018Game Over.\u2019&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In other sequences, on receiving a&nbsp; broadcast message \u2018Launch\u2019 we will change the \u2018Y Velocity\u2019 variable\u2019s value by (-0.5), making our objects fall.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are receiving one more broadcast message here i.e., \u2018Score increase\u2019 to change the score by 1, which is broadcasted when we cut the fruit.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-06-1024x473.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5666\" style=\"width:768px;height:355px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-06-980x453.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-06-480x222.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When the game starts, we use the &#8216;IF&#8217; statement with two conditions: &#8216;Video motion on sprite&#8217; and &#8216;Launch pick 1&#8217;. Watermelon is the first launch pick.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once we hit it with our hand, we switch the fruit costume to the second (cut) costume and broadcast the &#8216;Score increase&#8217; message, which is received in the variable sprite.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In another sequence, we throw this watermelon at the start of the game and hide it when it touches any edge of the screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-07-1024x476.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5667\" style=\"width:768px;height:357px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-07-980x456.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-07-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the above sequence, first, notice the axis drawn on the screen; the X-axis is horizontal, and the Y-axis is vertical; below the horizontal line, y is negative, and x is negative from left to right.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, we are causing our objects to be thrown up, but only until they reach the x-position 0. It gradually subsides.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The direction of motion is indicated by a point in the direction. And we&#8217;re going in random directions with Operators.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-08-1024x475.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5668\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-08-980x454.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-08-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So, you now understand everything we&#8217;re about to do.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So get to work on it for the apple sprite. We&#8217;re coding in the same way that we did for Watermelon. But don&#8217;t forget to set the &#8216;Launch Pick&#8217; variable to 2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-09-1024x476.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5669\" style=\"width:768px;height:357px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-09-980x455.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-09-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We are also using the same blocks to make our object fall slowly using the Y-Velocity variable.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-10-1024x475.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5670\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-10-980x455.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-10-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now, it\u2019s time to code for the bomb; these blocks are similar to those used for watermelon and apple sprites.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-11-1024x476.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5671\" style=\"width:768px;height:357px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-11-980x456.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-11-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here we don\u2019t want to increase the score if we touch this bomb, we will end the game once we feel it. So, we have slightly different coding for this sprite. I know you can figure out the difference.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-12-1024x475.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5672\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-12-980x455.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-12-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">So, let\u2019s code for our \u2018Ballerina\u2019 sprite. Once the \u2018Game over\u2019 is broadcasted, this sprite will appear on the screen, dancing and showing our score and the video sensing will get turned off.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-13-1024x475.png\" alt=\"Fruit Ninja Game In Scratch\" class=\"wp-image-5673\" style=\"width:768px;height:356px\" srcset=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-13-980x454.png 980w, https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/Fruit-Ninja-Game-In-Scratch-13-480x223.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, let&#8217;s write some code for the backdrop. When we press the &#8216;Space&#8217; key, we want to select a backdrop for the game screen, and when we start the game, we want to choose a different location using the when &#8216;start button clicked&#8217; event.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-testing-and-debugging\"><strong>Testing and Debugging<\/strong><strong>&nbsp;&nbsp;<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now check for the error\/bugs in your program, if any, and keep correcting those mistakes until it starts working smoothly. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you are done finding and correcting all the bugs, your game is ready to play.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hurray! Congratulations on the Fruit Ninja Game you successfully created.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy it now and ask your friends to join you in the game. Because you&#8217;ll pick up a lot of coding knowledge along the road, if you&#8217;ve mastered the art of making this game in Scratch, you&#8217;re already a programmer.<\/p>\n\n\n<div id=\"cstm_banner_cta\"><\/div>\n\n\n\n\n<p class=\"wp-block-paragraph\">Learn Scratch at BrightChamps with its specially designed curriculum that makes learning programming easy for students in Grade 1-12. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">BrightChamps also teaches a variety of other programs that help kids build a foundation in <a href=\"https:\/\/brightchamps.com\/blog\/block-based-coding\/\">computer programming<\/a> through activities, interactive lessons, and other means.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Elevate your child\u2019s learning journey with <a href=\"https:\/\/brightchamps.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">BrightChamps<\/a>, the leading EdTech company offering a transformative blend of robotics, financial education, and coding courses.<br>To get your hands on more such articles, educational content, and free resources on <a href=\"\/\/brightchamps.com\/blog\/kids-coding-languages\/\" target=\"_blank\" rel=\"noreferrer noopener\">coding for kids<\/a>,<a href=\"https:\/\/brightchamps.com\/blog\/robotics-courses-for-kids\/\"> robotics courses for kids<\/a>, game development, etc., check out the <a href=\"https:\/\/brightchamps.com\/blog\/\">BrightCHAMPS Blog Page<\/a> now!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you ever wonder who created us?? Who created the objects, the actions, and the life cycle of everything?&nbsp; Although we are unsure of the precise answer to the first query, the majority of us might respond that God created us all or that the Big Bang Theory was responsible for our creation. But what [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":5482,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"1080","footnotes":""},"categories":[49],"tags":[68],"class_list":["post-5460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-for-kids","tag-codechamps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog<\/title>\n<meta name=\"description\" content=\"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog\" \/>\n<meta property=\"og:description\" content=\"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/\" \/>\n<meta property=\"og:site_name\" content=\"BrightChamps Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BrightChamps-101266664954230\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-28T11:18:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-15T07:52:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2100\" \/>\n\t<meta property=\"og:image:height\" content=\"1185\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rohit Khare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit Khare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"40 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/\"},\"author\":{\"name\":\"Rohit Khare\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/person\\\/fb33ae213c34a955ed75c589235afcd5\"},\"headline\":\"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide\",\"datePublished\":\"2022-03-28T11:18:16+00:00\",\"dateModified\":\"2024-10-15T07:52:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/\"},\"wordCount\":1833,\"publisher\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png\",\"keywords\":[\"CodeChamps\"],\"articleSection\":[\"Code for Kids Corner\"],\"inLanguage\":\"en-US\",\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/\",\"name\":\"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png\",\"datePublished\":\"2022-03-28T11:18:16+00:00\",\"dateModified\":\"2024-10-15T07:52:22+00:00\",\"description\":\"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#primaryimage\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png\",\"contentUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png\",\"width\":2100,\"height\":1185,\"caption\":\"How To Create The Viral Fruit Ninja Game In Scratch\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/create-fruit-ninja-game-in-scratch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code for Kids Corner\",\"item\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/code-for-kids\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\",\"name\":\"BrightChamps Blog\",\"description\":\"BrightChamps Blog, also known as BrightChamps Hub is a go-to resource hub for everything on Coding for kids\",\"publisher\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#organization\",\"name\":\"BrightChamps\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/BrightCHAMPS-logo-new-1.png\",\"contentUrl\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/BrightCHAMPS-logo-new-1.png\",\"width\":417,\"height\":80,\"caption\":\"BrightChamps\"},\"image\":{\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/BrightChamps-101266664954230\\\/\",\"https:\\\/\\\/www.instagram.com\\\/brightchamps\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/brightchamps\\\/mycompany\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC_Afe_rMGoK5Bs4nSt8QIzQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/#\\\/schema\\\/person\\\/fb33ae213c34a955ed75c589235afcd5\",\"name\":\"Rohit Khare\",\"description\":\"\u2b50\u2b50\u2b50\u2b50\u2b50 I am a coding educator, an engineer, a programmer, photographer and a travel and food enthusiast. With BrightChamps, I hope to instil the best coding and technology knowledge and skills in children so that they become future ready. Learn from Me\",\"url\":\"https:\\\/\\\/brightchamps.com\\\/blog\\\/author\\\/rohitkhare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog","description":"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/","og_locale":"en_US","og_type":"article","og_title":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog","og_description":"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,","og_url":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/","og_site_name":"BrightChamps Blog","article_publisher":"https:\/\/www.facebook.com\/BrightChamps-101266664954230\/","article_published_time":"2022-03-28T11:18:16+00:00","article_modified_time":"2024-10-15T07:52:22+00:00","og_image":[{"width":2100,"height":1185,"url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png","type":"image\/png"}],"author":"Rohit Khare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit Khare","Est. reading time":"40 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#article","isPartOf":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/"},"author":{"name":"Rohit Khare","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/person\/fb33ae213c34a955ed75c589235afcd5"},"headline":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide","datePublished":"2022-03-28T11:18:16+00:00","dateModified":"2024-10-15T07:52:22+00:00","mainEntityOfPage":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/"},"wordCount":1833,"publisher":{"@id":"https:\/\/brightchamps.com\/blog\/#organization"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#primaryimage"},"thumbnailUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png","keywords":["CodeChamps"],"articleSection":["Code for Kids Corner"],"inLanguage":"en-US","accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/","url":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/","name":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide - BrightChamps Blog","isPartOf":{"@id":"https:\/\/brightchamps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#primaryimage"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#primaryimage"},"thumbnailUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png","datePublished":"2022-03-28T11:18:16+00:00","dateModified":"2024-10-15T07:52:22+00:00","description":"This blog\u00a0will show you how to make fruit ninja game in scratch with a few steps and the steps are,","breadcrumb":{"@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#primaryimage","url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png","contentUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2022\/03\/How-To-Create-The-Viral-Fruit-Ninja-Game-In-Scratch.png","width":2100,"height":1185,"caption":"How To Create The Viral Fruit Ninja Game In Scratch"},{"@type":"BreadcrumbList","@id":"https:\/\/brightchamps.com\/blog\/create-fruit-ninja-game-in-scratch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/brightchamps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Code for Kids Corner","item":"https:\/\/brightchamps.com\/blog\/code-for-kids\/"},{"@type":"ListItem","position":3,"name":"How To Create The Viral Fruit Ninja Game In Scratch: Beginners Guide"}]},{"@type":"WebSite","@id":"https:\/\/brightchamps.com\/blog\/#website","url":"https:\/\/brightchamps.com\/blog\/","name":"BrightChamps Blog","description":"BrightChamps Blog, also known as BrightChamps Hub is a go-to resource hub for everything on Coding for kids","publisher":{"@id":"https:\/\/brightchamps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/brightchamps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/brightchamps.com\/blog\/#organization","name":"BrightChamps","url":"https:\/\/brightchamps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2026\/03\/BrightCHAMPS-logo-new-1.png","contentUrl":"https:\/\/brightchamps.com\/blog\/wp-content\/uploads\/2026\/03\/BrightCHAMPS-logo-new-1.png","width":417,"height":80,"caption":"BrightChamps"},"image":{"@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BrightChamps-101266664954230\/","https:\/\/www.instagram.com\/brightchamps\/","https:\/\/www.linkedin.com\/company\/brightchamps\/mycompany\/","https:\/\/www.youtube.com\/channel\/UC_Afe_rMGoK5Bs4nSt8QIzQ"]},{"@type":"Person","@id":"https:\/\/brightchamps.com\/blog\/#\/schema\/person\/fb33ae213c34a955ed75c589235afcd5","name":"Rohit Khare","description":"\u2b50\u2b50\u2b50\u2b50\u2b50 I am a coding educator, an engineer, a programmer, photographer and a travel and food enthusiast. With BrightChamps, I hope to instil the best coding and technology knowledge and skills in children so that they become future ready. Learn from Me","url":"https:\/\/brightchamps.com\/blog\/author\/rohitkhare\/"}]}},"_links":{"self":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/5460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/comments?post=5460"}],"version-history":[{"count":9,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/5460\/revisions"}],"predecessor-version":[{"id":34651,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/posts\/5460\/revisions\/34651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/media\/5482"}],"wp:attachment":[{"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/media?parent=5460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/categories?post=5460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brightchamps.com\/blog\/wp-json\/wp\/v2\/tags?post=5460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}