Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more.

Transcript

When people and organizations share information in the professional world, they use non-disclosure agreements to protect their ideas.

While sharing is important in computer science, sharing an idea before you develop, or use it, might lead someone else to use it before you do.

In this add-on, you'll ask the audience to agree to not share any of the ideas in your story, with other people.

This is not a legally binding agreement, but the code you'll use to create it, is similar to the code that a company might use on its website.

To start, select the sprite narrating your story.

Use some safe-for-two-seconds blocks to write a disclaimer.

In this example, the sprite says, "The ideas and opinions expressed in this project, "are owned by csf-123.

"Sharing the ideas in this project is strictly prohibited."

Now that you have your disclaimer, ask the user to agree not to share your idea.

Click sensing and drag out an ask block.

Add your question text.

Like, do you agree not to share this innovation with other people?

Click the block stack to test it.

Great!

The sprite says the disclaimer, asks the question, and a prompt pops up where users can type their answer.

If the answer is yes, then the program should run normally.

If they type anything else, the program should stop.

Drag out an if-else block.

As the condition, put an equals-operator.

The answer variable from sensing, and type yes as the other value.

This now reads, if the answer equals yes, then, if the answer is yes, the program should run normally.

Add this code below the green flag.

Place the broadcast and wait blocks, that are already in your project, in the then portion of the block.

Click the flag to test this.

Enter yes as the answer.

The program works.

Great.

Next, add a say block to the else.

If people don't say yes, the program can respond with something like, okay, thanks for your honesty.

Test this now with something like, no.

The program says the message, then does not show the innovation.

Great.

Now it's your turn to protect your innovation.

Add a disclaimer using safe-for-two-seconds blocks.

Ask the user to keep your ideas confidential, with an ask block.

Decide what to do based on the user's answer with an if-else block, an equals operator, and an answer block.

Choose an Add-On

Scene Change

Change the setting of your pitch for each part of the story.

Protect Your Idea

Ask the audience to agree to not share any of the ideas in your story with other people.

Building Volume

Add a song to your story and control its volume based on which part of the story is being told.

Add Interactivity

Make the end of your pitch interactive by asking the audience a question and responding accordingly.

Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!
Attributions
  • The song “Venture Out” is © SmartSound-- CC-BY-SA 4.0 does not apply.