Custom Blocks: Lists
Move mouse-pointer to move gun Click to shoot This experiment is the finale of my series. It is a game where you must try to shoot as many red squares as you can while avoiding doing so to golden squares. To detect whether the user has shot a golden square, there is a custom block that returns the boolean value corresponding to whether a list of the costume names of every square that has been shot lacks the word "gold" whenever it is called. This block is a loop block that runs the script inside the block while it's condition is true. Almost every other script contains this custom loop block. When this condition is false, however, the game ends and your score is printed onto the console by the gun. You can play the game for a maximum of 60 seconds at once, for that is the time limit. Try to shoot as many red squares as possible! If you shoot a golden square and lose (or, of course, run out of time), try again and attempt to break your personal record! This is the experiment I had most fun coding. This is the final experiment and I will not be coding any more unless requested at the link: https://scratch.mit.edu/users/Tracy98/ My highscore: 81 Thanks! =D
Created February 18, 2020
Last updated March 14, 2020
Published February 19, 2020