Presentation is loading. Please wait.

Presentation is loading. Please wait.

©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.

Similar presentations


Presentation on theme: "©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission."— Presentation transcript:

1 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science Enrichment Activities for Level 3B STEM Computer Science

2 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 2 You need to create a guessing game. The user is asked to guess a number between 1 and 100. The user is allowed ten guesses total. Then the user receives feedback (too high, too low, or correct). When the user is correct, the sprite should also say so and congratulate the user. Challenge 1 Enter a guess… and get feedback.

3 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 3 Create the program: Choose whichever sprite and background that you like. The range of possible values is 1 to 100. If the user gives a number that is greater than 100, or less than 1, simply have the program give them normal feedback (too high, too low). Show the user a congratulatory message if they guess the answer correctly. When the user has used all ten guesses, tell the user that the game has been lost. Challenge 1: Create It!

4 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 4 You need to create a maze game. The player sprite should be controlled by the arrow keys so that the user can try to navigate through the maze. If the user bumps into any of the walls, the game restarts. When the user reaches the goal, a congratulatory message is displayed. The goal is for the player sprite to reach a second sprite that needs to be saved. The player sprite simply needs to touch the second sprite to save it. There should also be a third sprite that serves as an obstacle. The obstacle sprite should move around the screen at whichever speed(s) that you choose. And, it should move, randomly. If the player sprite touches the obstacle sprite, the game restarts. There is also a timer. The user has only 60 seconds to complete the maze. If time runs out, the game is lost. The user has five lives. That means the user can only lose five times. If the player sprite touches the wall and/or the obstacle sprite five times, then the game is over. You can either import a maze design or create one in Scratch’s paint editor. Challenge 2

5 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 5 Here is an example of the maze game. In this one, the dog sprite needs to be saved by the cat sprite. The ghost sprite is the obstacle sprite that randomly moves around the maze. Challenge 2: Create It!

6 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 6 You have to create a Rock, Paper, Scissors Game. There should be three sprites on the stage, two sprites play and one acts as a referee. Program each of the players to randomly select rock, paper, or scissors. Then, the referee decides who wins each round. Challenge 3

7 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 7 Create the program: Choose whichever sprites and background that you like. Remember: – Rock wins over scissors. – Paper wins over rock. – Scissor wins over paper. The judge sprite checks who wins, or if there is a tie. A tie means that the sprites both gave the same answer. Challenge 3: Create It!

8 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 8 This challenge is a continuation of the Addition Game from Level 3A. But, you do not need to have had the enrichment sessions in Level 3A to complete this exercise. In this version of the Addition Game, the numbers that need to be added are randomly generated. Then the program checks if the user supplied the correct answer or not. The user should be asked to solve ten addition problems. If the user answers correctly, the questioner sprite says, “Correct, the answer is ___.” The blank space written here (___) is where the sprite would show the user’s answer. If the answer is incorrect, the user should be told that the answer is incorrect. If the user answers more than 7 problems correctly, there should be a good job message. If the user answers less than 7 correctly, there should be a message to practice addition some more. Challenge 4: Create It!

9 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 9 You need to make a Pong-like game. Pong has a ball that moves around the screen and bounces off the edges. The player has to try to prevent it from touching the bottom of the screen by moving a paddle back and forth. The ball will bounce off the paddle and back upward if done correctly. Your Pong-like game needs to keep score. The user should control the paddle with the mouse. If the user misses the ball three times, the game should end. Challenge 5 paddle ball

10 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 10 Create the program: Draw the paddle in Scratch’s paint editor. Paint the bottom of the stage in the paint editor so the user knows where the ball should not bounce. Then, you can program using the color at the bottom of the stage to determine if the user missed the ball. If the ball touches that color, it counts as a miss. Have the ball move at varying speeds but in straight lines until it bounces off of a wall (side of the stage). The ball should bounce off of all four sides of the stage (top, bottom, left, and right). Challenge 5: Create It!

11 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 11 You need to create a Multiplication Game. The game should have three sprites. The asking sprite asks the user to solve a multiplication problem. The opponent sprite moves forward at a constant speed. The user’s sprite moves forward only if the user solves the problem correctly. The goal is for the user’s sprite to reach the edge of the stage before the opponent sprite. If it does, it should say, “I win!” If the opponent sprite reaches the edge of the stage first, it should say “You Lose!!” The game ends when either sprite reaches the edge of the stage. Challenge 6 User’s sprite Asking sprite Opponent sprite

12 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 12 Create the program: Choose whichever sprites and background that you like. Multiplication questions should be randomly generated. But, keep the numbers to be multiplied limited to one digit numbers. Remember, one digit numbers are 0 through 9. Users should also be told by the asking sprite if they answered correctly or not. Then the user’s sprite can move forward if the answer was correct. Challenge 6: Create It!

13 ©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 13 The last challenges of Level 3A are to follow the PowerPoint to create the Triangle Classification Game project. Then, use what you have learned about the iterative development process of using research, design, planning, and programming to create your own math game or classification game. Remember to use the planning documents that you did in class: the Gantt chart, the information document, the storyboard, the design chart, and the planning document with your pseudocode. Challenges 7 - 16


Download ppt "©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission."

Similar presentations


Ads by Google