Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Introduction to Coding Make a Flappy Game

Due Friday, October 13 4:30 PM

Purpose: Students will learn the basic concepts of coding and will complete the Hour of Code
activity. The Hour of Code is a global movement that introduces coding to all students. Coding is
what makes it possible for us to create computer software, apps and websites. Your browser,
your OS, the apps on your phone, Facebook are all made with code.
(www.codeconquest.com/what-is-coding/benefits/)

Time Required: 3 hours

Lesson Objectives:

Students will be able to:

Define coding and computer science


Identify key computer science vocabulary
Make connections between computer science and the real world
Identify places to go to continue learning computer science and coding

Vocabulary:

Code to write code, or to write instructions for a computer.


Debugging Finding and fixing problems in your algorithm or program.
Program An algorithm that has been coded into something that can be run by a machine.

Introduction:

In computer science, code means a set of instructions that a computer can understand. In the
next couple of assignments you will practice coding, programming, and debugging. You
will program with blocks on the computer. You will debug by checking your codes for mistakes
and trying to fix the errors. Jobs that use coding are programmer, computer scientist, software
developer or engineer.

Watch the video https://studio.code.org/hoc/1 before you begin this assignment. Terminology is
introduced in the video as well as a visual on how you will move and drag.

In this assignment you will have three introductory coding activities. The concepts in each
activity build on each other.

Steps:

1. Open Google and type https://code.org/learn


2. Register or Sign In. This step is very important. You will be submitting screen shots of your
codes. The screen shot must show your name in the upper right hand corner to receive any
credit.
3. Scroll through the games until you see the one titled "Make A Flappy Game." On my screen
it is the 3rd game shown. Click on the "Make a Flappy game" picture.
4. Click on the orange box "Start" Watch the short video. This activity introduces you to drag
and drop.
5. You cannot progress to Puzzle 2 until you have mastered Puzzle 1. Do not rush through this
assignment. You need to understand the concept.
6. Key to Puzzle 1 is:

7. Test your code by clicking "Click Run to Start the Game." That was your first code. Now, at
the top of your screen click the white circle to go to Flappy Code 2
8. In the box "Congratulations! You completed Puzzle 2 "click on the orange box "Continue."
9. Follow instructions for Puzzles 3 - 10. After each puzzle you should have a box that says
"Congratulations! You completed Puzzle ___"
10. Hint on Puzzle 7: A Random scene is one of the scenes in the program. You need to click on
the down arrow key on "set scene City (day)"
11. On Puzzle 10 after you have entered your code take a screen shot of it to submit. You can use
the snipping tool or ctrl Print Screen.
12. After Puzzle 10 you will see a dialog box "Congratulations on completing one Hour of
Code." You need to Personalize your certificate. In the gray box type your first and last
name. Click the orange button "Submit" Click on the certificate to download or print it. Be
sure you download it. Right click on top of the certificate. Choose "Same image as...." Save it
as your name. Submit in Blackboard. It should save as a .jpg file. Like
this: BetsyOrr.jpg If you submit as a PDF file it will not be graded.
13. For this activity you are submitting TWO documents: screen shot or snip of puzzle 12
and a .jpg of your certificate. On the screen shot or snip make sure your name is
showing in the right hand corner.

Note: You will be required to download this certificate in your weebly at the end of this
semester. Make sure it is saved on your computer so that you will have access to it later.

Introduction to Coding Make a Flappy Game Grading Rubric


Puzzle 10 screenshot with correct coding. Your name is visible in the top right hand corner. 5
Certificate has your name on it to show that you have completed the One Hour of Coding.
5
Certificate is submitted as a .jpg file
Total Points 10
Introduction to Coding Star Wars: Building a Galaxy with Code

Due Friday, October 13 4:30 PM

Purpose: Students will learn the basic concepts of coding and will be able to develop a coding
game according to specified criteria.

Coding is what makes it possible for us to create computer software, apps and websites. Your
browser, your OS, the apps on your phone, Facebook are all made with code.
(www.codeconquest.com/what-is-coding/benefits/)

Lesson Objectives:

Students will learn to

program droids
create their own Star Wars game

You must complete all the steps. You will not receive the Certificate until all steps are
completed.

Steps:

1. Open Google and type https://code.org/learn


2. Click on the orange box Go under Star Wars: Building a Galaxy with Code
3. Click on the orange box Try now under Blocks
4. You are directed to a video. Make sure your volume is up. You need a minimum of an
hour to complete this assignment. Dont do it in steps.
5. Click the purple X once the introductory video is over.
6. Puzzle 1 of 15. Click the orange X.
7. Click the orange Run box.
8. To get the scrap metal and run right remember you have to drag the move right blue bar in
the Workspace. Then you can click Reset to test it.
9. If you were successful you will get a screen Congratulations! You completed Puzzle 1.
You just wrote 2 lines of code! Click the button that says Show code. Click the orange
button that says continue.
10. Now you are at Puzzle 2 of 15. Click the orange button OK.
11. Now, you need to get more scrap metal. What will you do? If you click Run you will get
a screen that says Try again, BB-8. Get all the scrap metal. Click on the gray bar See
hint.
12. Try again but this time use the hint.
13. Remember, you have to drag the blue button under Workspace.
14. Click Run.
15. Continue until you are successful.
16. Hint: If you cannot figure this out, here is the code: move right, move right, move down,
move down
17. You should now see Congratulations! You completed Puzzle 2. Click the orange button
Continue.
18. You are ready for Puzzle 3 of 15. Click the orange button OK.
19. You are still trying to get the scrap metal.
20. I hope this is getting easier and you are understanding how it works. If you cannot figure
Puzzle 3 out here is the code: move right, move right, move left, move up
21. Continue on. After Puzzle 6 you will now develop your own game.
22. Watch the video.
23. After video click the purple X.
24. Puzzle 7 of 15. Click the orange button.
25. After you look at everything on the screen you can click the two purples Xs.
26. In puzzle 7 you are coding R2-D2 to go up or now. Play with Puzzle 7 until you are
successful. When you make a mistake the screen tells you what you need to do.
27. Go on to puzzle 8. Hint: When up arrow you should probably move the blue button go
up under the green button when up arrow.
28. Once successful with puzzle 8 continue to puzzle 9.
29. Puzzle 9 Hint: You need to get 900 points to win. Under the workspace you need to move
add 100 points 9 times.
30. It does get harder with each puzzle.
31. After puzzle 14 you need to watch the video that pops up. You are ready to develop your
own game.
32. Click the purple X to exit the video.
33. Puzzle 15 of 15. This is YOUR game. Click the orange button OK.
34. Under Blocks are your options. You will move the individual blocks to under the
Workspace. You will need to click on the Commands button to get the individual
commands.
35. Criteria:
1. When an obstacle is touched add a Stormtrooper and Puffer Pig. (Hint: When obstacle is
touched is under Events.)
2. When get Puffer Pigs add 10 points.
3. When get Stormtrooper add 10 points.
4. Add TWO extra commands and/or events unique to you.
36. Take a snip or screen shot of Puzzle 15 coding. Your name in upper right hand corner
must be visible. Submit it in Blackboard. Click the orange box Finish.
37. You will get a box that says Congratulations and Share your game. Copy your url.
Submit your url in the Comments box in Blackboard.
38. Dont forget to copy or write down your url. Click the orange button Done.
39. You will now see a screen Congratulations on completing one Hour of Code.
40. Personalize your certificate. Type your name in the gray box Name. Then, hit the orange
button Submit. Click on the certificate to download it. You need to save the certificate
to your desktop and submit it in Blackboard. You can save the certificate as Save image
as and name it. Then upload it in Blackboard or you can copy the image address and
type the url in the Comments box in Blackboard.

Note: Assignments will not be graded via email. Please do not email me your url. You
need to email your url of your game AND your certificate to someone who does not use
your computer to make sure the url is accurate. If you submit a url that does not open
you will receive a zero. I will not accept a correct url after the assignment due date/time.

Introduction to Coding Star Wars: Building a Galaxy with Code Grading Rubric
Complete all steps 1 - 40.
Step 35, 1. When an obstacle is touched add a Stormtroooper and Puffer Pig. 10
Step 35, 2. When get Puffer Pigs add 10 points. 5
Step 35, 3. When get Stormtrooper add 10 points 5
Step 35, 4. Add two extra commands and/or events unique to you. 10

Puzzle 15 screenshot with correct coding. Your name is visible in the top right hand corner. 5
URL of game is submitted. 3
Certificate is submitted as a .jpg file 3
Total Points 41
Introduction to Coding - Moana: Wayfinding with Code

Due Friday, October 13 4:30 PM

Directions:

1. Go to https://code.org/learn
2. Sign in.
3. Scroll until you find "Moana: Wayfinding with Code" Click on the picture.
4. Click the orange "Start" button.
5. Click on "Begin Now."
6. When you get to Puzzle 12 take a screen shot of it by clicking "Ctrl Print Screen." That is what
you will submit for this assignment. I will then enter your codes on my program and run it. If
it works, you receive full credit, if it doesn't work you will not receive any credit. Your
screen shot must show your sign in name that is in the upper right hand corner. If your
sign in name is not visible you will not receive any credit for the assignment.
7. This is what a sample screenshot looks like:

Introduction to Coding - Moana: Wayfinding with Code Puzzle 12

Puzzle 12 screen shot submitted and coding works 10


Total Points 10
Introduction to Coding Minecraft Hour of Code

Due Friday, October 20 4:30 PM

Purpose: Students will reinforce coding skills and learn the basics of computer science using
Minecraft. Students will develop a program using if statements.

Steps:

1. Open Google and type https://code.org/learn


2. Click on the middle area Minecraft Hour of Code. Click the orange Go button.
3. Click on the orange button Try now
4. Watch the video. (2 minutes)
5. After the video you are taken to a screen where you choose your character. Follow the
onscreen prompts.
6. Complete puzzles 1 7. Test each puzzle by clicking the orange Run button.
7. Watch video that comes up midway. Its very important. (1 minute)
8. If you have problems with Puzzle 7 let me know.
9. In Puzzle 9 you have to select Destroy Block to mine the coal. There are 2 pieces of coal
inside some of the blocks.
10. Watch video after Puzzle 10. This video is important. You will learn if statements. (1
minute)
11. Watch video after Puzzle 13. (1 minute)
12. Puzzle 14 you will mine, build, and create something unique by using everything you have
learned.
13. Criteria for Puzzle 14:
a. Place bedrock next to river (only need to place one bedrock)
b. Place one torch anywhere
c. Plant one crop anywhere
d. Shear 2 sheep (you will have to figure out how to get to the sheep)
14. Submit your url in the Comments box in Blackboard. Urls submitted via email will not be
graded. All urls must work at the time of grading.

Introduction to Coding Minecraft Hour of Code

Complete Steps 1 - 13
13: (a) Bedrock next to river 3
13: (b) One torch anywhere 1
13: One crop anywhere 1
13: (d) Shear 2 sheep 10
Total Points 15

You might also like