
- #The hot dog game full#
- #The hot dog game code#
The third time a Hot Dog is bought, Sans notes that " really hot animals." He says he is not judging, though, as he would be out of a job without folks like that. #The hot dog game full#
Upon having a full inventory and attempting to order a 31st Hot Dog Even if a Hot Dog is also in their inventory, the protagonist still attempts to slide a Hot Cat through the door if they have one.
If the protagonist has a Hot Cat in their inventory, they attempt to slide it through the door only to have it rejected, and no reward is given out.
Giving a Hot Dog to the rightmost door in the MTT Resort rewards a Hush Puppy. (ButtonEvent.The second time a Hot Dog is bought, Sans gives a Hot Cat instead, which heals for one more HP than a Hot Dog, makes a meowing noise when eaten (unless in Serious Mode) and cannot be exchanged for a Hush Puppy. Your final program may look something like this: let delay = 0 In the ||music:set volume|| block, click on the number and change the value to 200. From the ||music:MUSIC|| Toolbox drawer, drag out a ||music:set volume|| block to the coding Workspace, and drop it into the ||loops:on start|| block. Final step! From the ||loops:LOOPS|| Toolbox drawer, drag out an ||loops:on start|| block onto the coding Workspace. In the ||light:show animation|| block, use the first drop-down menu to select the theatre chase animation, and use the second drop-down menu to select 2 seconds ( 2000 milliseconds). From the ||light:LIGHT|| Toolbox drawer, drag out a ||light:show animation|| block onto the Workspace and drop after the ||music:play sound|| block. In the ||music:play sound|| block, use the drop-down menu to select the wawawawaa sound effect. From the ||music:MUSIC|| Toolbox drawer, drag out a ||music:play sound|| block onto the Workspace and drop after the ||loops:while|| loop. When our game loop ends, let’s add an ending sound and animation. Step 5: End the game on a sound and animation This will decrease our delay time by 50 milliseconds each time. In the ||variables:change|| variable block, type -50 as the value replacing the default value of 1. From the ||variables:VARIABLES|| Toolbox drawer, drag a ||variables:change|| variable block onto the Workspace and drop after the ||light:show animation|| block. Conceptsīlocks (ButtonEvent.Click, function () ) Step 4: Decrease the delay time on each loop We’ll need to make him play some sounds for a random amount of time, before stopping to indicate that a player is out. CodeĬode Jake to play the Hot Dog game with him. #The hot dog game code#
Use a tape, wrap it around Jake’s body and the battery pack, being careful not to tape over the On/Off switch on the battery pack.Ĭongratulations! You have made your own Jake the Dog! Move on to the next step to code Jake. Position the battery pack on Jake’s back. Insert the batteries into the battery pack.Īttach the wire from the battery pack to the Adafruit Circuit Playground Express. Place the tape on the back of the Adafruit Circuit Playground Express and stick onto Jake’s tummy. Use a small piece of tape and roll it inside out to form a loop so that the sticky side is on the outside. Step 4: Attach the Adafruit Circuit Playground Express Using regular glue, or hot glue and a glue gun if you have it, glue Jake’s eyes, mustache and nose on. Outline these circles in black marker, then cut them out with the scissors.īend a pipe cleaner into fourths, twist in the middle and bend the ends down to create Jake’s mustache. On the piece of white paper, draw 2 circles for Jake’s eyes.
Using the scissors, poke holes in the places on Jake’s body where you think arms and legs should be. Using brown pipe cleaners, cut or bend 4 pieces to the right size for Jake’s arms and legs. Use the brown packing tape or brown duct tape to wrap around the ball of paper to keep the shape. Use as much brown paper as you need to bunch up into a ball that’s the approximate size for your Jake.
Brown construction paper (or brown paper bag works well)ĭecide what shape or size you want your Jake to be. Adafruit Circuit Playground Express Base Kit. Collect the materials in the list before starting your project Make.