Today we will program the Rock Paper Scissors solution that we developed last class.
Refer to the written plan and rubric distributed in class.
Keep in mind:
This program has 3 scenes (Setup, Show, Winner). "Broadcast" is used to transfer between scenes.
This program has 2 sprites (one for the computer, and one for the user). Each sprite changes costumes a number of times.
This program uses 2 variables: userChoice, and compChoice which store the choice of each player.
rock = 1
paper = 2
scissors = 3
Watch the example program that Ms. Wahl has developed.
Tuesday, 13 December 2011
Friday, 9 December 2011
Using a Timer
Last class we set up a variable to serve as a Timer - it counted down until it reached zero.
To begin, you can use the example program that Ms. Wahl built, but you should be able to replicate this without help from others or a sample program.
To begin, you can use the example program that Ms. Wahl built, but you should be able to replicate this without help from others or a sample program.
Friday, 2 December 2011
Using Variables
Today we will learn how to create, name, and control simple variables in the Scratch environment.
After the lesson, use a simple variable to keep track of the score of a sprite.
After the lesson, use a simple variable to keep track of the score of a sprite.
Friday, 18 November 2011
Assignment One: Alphabet Kids Game
Today we learn about using "events" in our programming.
After the lesson, you will create a simple alphabet game for kids. Be sure to rename all your sprites to more descriptive names. Upload your final product to the Scratch website with the name "YourName_alphabetgame"
Go to the Scratch website (www.scratch.mit.edu) and login to our account:
username: rockway2011
password: rockway
DUE: Tuesday, November 22nd.
Level 3 Requirements:
Level 4 Requirements:
After the lesson, you will create a simple alphabet game for kids. Be sure to rename all your sprites to more descriptive names. Upload your final product to the Scratch website with the name "YourName_alphabetgame"
Go to the Scratch website (www.scratch.mit.edu) and login to our account:
username: rockway2011
password: rockway
DUE: Tuesday, November 22nd.
Level 3 Requirements:
- must include 9 sprites
- sprites must be renamed to descriptive names (e.g. not "Sprite 1")
- sprites must change costume and return to original costume when clicked
- all sprites must appear as letters when green flag is clicked
Level 4 Requirements:
- add sound or motion to some or all sprites
- add colour and/or soundtrack
- add an interesting welcome screen
- other ideas?
Thursday, 17 November 2011
Debugging
Today we will get some practise debugging - that is, finding errors in our code and fixing them.
You will work in partners to complete the handout provided. Both partners need to hand in a completed assignment.
To download the programs:
1. Go to the Scratch website (www.scratch.mit.edu) and login to our account:
username: rockway2011
password: rockway
2. Click on "my stuff" to see the five debug programs.
3. Click on debug_1_0. Once it opens in your browser, click "Download this Project".
Work with your partner to fix the programs. Record your solution on your assignment sheet.
You will work in partners to complete the handout provided. Both partners need to hand in a completed assignment.
To download the programs:
1. Go to the Scratch website (www.scratch.mit.edu) and login to our account:
username: rockway2011
password: rockway
2. Click on "my stuff" to see the five debug programs.
3. Click on debug_1_0. Once it opens in your browser, click "Download this Project".
Work with your partner to fix the programs. Record your solution on your assignment sheet.
Tuesday, 15 November 2011
Changing scenes with Broadcasts
Using your knowledge of broadcasts, animate a story that uses three scenes of your choice.
Your animation must include:
Your animation must include:
- at least three different backgrounds
- at least three different sprites
Once you have your animation working correctly (and have shown your teacher),
add the following:
- a title screen with the name of the your story
- a "The End" screen at the end of your story
- sound effects
Thursday, 10 November 2011
Scratch: Using Broadcasts
Today we will learn how to trigger "events" in our programming by using broadcasts.
While you're waiting for the lesson to begin, open your program from last class and add some more detail.
----Broadcast simulation & demonstration----
After the lesson
As demonstrated in class, write a program where 3 sprites take turns doing an activity of your choice. Use the "Send broadcast" and the "Receive Broadcast" commands to make this happen.
HINT: ALWAYS specify a starting place for each sprite by using the "Go to X__Y___" command.
While you're waiting for the lesson to begin, open your program from last class and add some more detail.
----Broadcast simulation & demonstration----
After the lesson
As demonstrated in class, write a program where 3 sprites take turns doing an activity of your choice. Use the "Send broadcast" and the "Receive Broadcast" commands to make this happen.
HINT: ALWAYS specify a starting place for each sprite by using the "Go to X__Y___" command.
Subscribe to:
Posts (Atom)