|
Computer Science Home
6th Grade Tech Ed
7th Grade Computer Science
8th Grade Computer Science A
Gmail
Google Drive
Google Classroom
Infinite Campus
Typing.com
(Join Class through Google Classroom)
Schoology
Code.org
Tynker Coding Website
Tynker Resource Page
Tynker Online Support Video Help
Quizlet | Quizlet LIVE
Everfi
Khan Academy
Social Media Tips
Netsmartz
Code HS
Karel the Dog class code: 1251
CSTA Standards
ISTE Standards
|
301 Boss Battle (16) ***
Students will be able to:
- create customized loops using variables
- program movement using the 'glide' block.
Vocabulary
New Tynker Code Blocks
The blocks we will be learning about in this lesson are 'glide', 'forever', 'set variable to' and 'change variable by' blocks.
1. Concepts
Let’s find out more about how to use the glide block and repeat until with variable.
- Click on the 'Concepts' icon.
- Read the captions on the screen.
- Click anywhere to move to the next screen
2. Boss Battle (DIY project)
- This DIY module will expand upon the previous dragon projects by adding a boss with lots of health!
- The first step for you will be to set the boss’s health with a variable.
- Next, you will program the boss’s movement pattern and make it lose health when hit with a fireball.
- Finally, you will animate the boss taking damage and disappearing when it runs out of health.
- The end result will not be a complete game-- that can wait for the following module.
3. Boss Strikes Back (DIY project)
- This project will complete the boss’s code by letting it fight the dragon with lasers! After you complete this lesson, the boss will fire a fan of lasers every three to five seconds.
- Notice that the lasers do not hurt the dragon yet-- the dragon is not programmed to take damage currently.
- Challenge yourself to program the dragon to die in 7 hits from the laser. This will make the game much more intense!
4. You're the Boss (puzzle)
In this puzzle we need to program the boss to defeat the dragon.
- Read the text and click on Get Started.
Question 1: What block should you use for the red laser to get it to start working?
- The 'Clone Startup' block will get the red laser program to start running.
Question 2: What should the variable be set to?
- It should be set to health with a value of 100.
Question 3: What blocks will go inside the forever loop to make the Big Boss repeatedly move to the same 3 locations?
- Three 'glide' blocks with different x, y coordinates need to go inside the forever loop .
5. Boss Rush (DIY project)
- Some video games like to give players an extra challenge by making them fight several bosses, one after the other. In this project, you will create your own game with several bosses in a row!
6. Quiz
Conclusion
In this lesson we learned how to create customized loops using variables and to program movement using the 'glide' block.
U.S. Standards
|