Because every student should have the opportunity to learn how to code

User Tools

Site Tools


lev4:act_score_s

Activity : Keeping Score

Ninja Instructions | Mentor Notes

Introduction

Lots of the games you have looked at have had good interaction, but you want to be able to keep score so that you can brag to your friends at how awesome you are at playing this game. This activity adds in score keeping.

Fish Chomp is a game where players try to catch as many fish as they can by guiding a sprite with the mouse. in this activity, you will remix Fish Chomp by adding a score with variables.

Duration

30-45 minutes

Instructions

  1. Begin by remixing the Fish Chomp Starter game
  2. Take a few minutes to explore the starter code and how the big fish is controlled by the user.
  3. Click on the “Make a Variable” button in the Data category

    \\to create and name a variable for score.
    {..:score.png}}
  4. Notice that after you do this there are a series of new code blocks available under the menu.

  5. Experiment with your new variable blocks to incorporate score into your project.

  6. If you are having trouble with this look at some other games on the scratch website to see how they incorporate score and use these same blocks.

Things to think about when you are done

  • How would you explain variables to someone else?
  • What are variable good for?
  • Challenge yourself to do more. How can you use score to add difficulty to your game design?
  • Find a game you are inspired by and remix it!

Sharing your project in the studio

The studio for this activity is located at:

Credits

This project is based on materials from the the Creative Computing curriculum by Brennan, Balch, and Chung.

lev4/act_score_s.txt · Last modified: 2015/04/13 10:53 by jbschafer