background preloader

Rob Easton's Scratch Games

Rob Easton's Scratch Games

Book & Resources Computer Science Concepts in Scratch Michal Armoni and Moti Ben-Ari Copyright 2013 by Michal Armoni, Moti Ben-Ari, Weizmann Institute of Science. This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. This book will familiarize you with the Scratch visual programming environment, focusing on using Scratch to learn computer science. The textbook was written for Scratch 1.4. Download The textbook is available in three formats: (a) with equal margins for screen display and one-sided printing; (b) with margins for two-sided printing and binding in the left margin; (c) with a large font on a small text area that enables better accessibility by magnifying the pdf. Textbook for Scratch 1.4—version 1.0, 5 May 2013 (one-sided, two-sided, small format). Our other learning materials for Scratch Research Hebrew language website: Contact: Please send comments and suggestions to:

Online Python Tutor - Learn programming by visualizing code execution ScratchMathGames - computersforcreativity Building Math Games using Scratch is a good example of project based learning - it is long term, collaborative, interdisciplinary, and has a real world application. Students must manage their own time to meet the deadlines provided. The Math games require players to solve math problems that are randomly created. Solving problems correctly allows the user to advance to the goals - which varied from getting oxygen in an underwater world, shopping online to escaping from sharks. Students learn advanced programming skills like variables, conditionals, user inputs, random numbers, and messaging. The Math games can be created in 5-8 classes of 30-40 minutes. ALTERNATE METHOD OF RUNNING THIS PROJECT: Instead of Teacher Demos listed in each class below - do no demos at all! Help document that I used in my classes is at Class Demo project Engage: Discuss Math games they have played. Activate: Place Mission and Tasks (shown below) on projector overhead or on class website/wiki Details Tasks Examples -

Learn Dance Party Grades 2+ | Blocks Minecraft Hour of Code A Minecraft Tale of Two Villages Grades 2+ | Blocks, Python Make a Flappy game Play, Design & Code Retro Arcade Games codeSpark Academy with The Foos: Create Games Pre-reader - Grade 5 | Blocks Star Wars: Building a Galaxy with Code Grades 2+ | Blocks, JavaScript Coding Town Grades 2-5 | JavaScript AI for Oceans Grades 3+ | AI and Machine Learning Ozaria: Your Journey Begins Grades 6+ | JavaScript, Python Code your own racing game! Grades 6+ | JavaScript Beach Cleanup with Kodable Pre-reader - Grade 5 | Language independent (can be taught in multiple languages) Write your first computer program The Grinch: Saving Christmas with Code Grades 2-8 | Blocks Code with Anna and Elsa Minecraft Hour of Code: AI for Good Make Your Own Kodable Mazes Pre-reader - Grade 5 | JavaScript, Language independent (can be taught in multiple languages) Learn to Code with Crossy Road Grades 9+ | Blocks Beaver Achiever Tractor Traversal Box Island All ages | Blocks Bake a Cake With HTML!

AR SPOT: An Augmented-Reality Programming Environment for Children | Augmented Environments Lab AR SPOT is an augmented-reality authoring environment for children. An extension of MIT’s Scratch project, this environment allows children to create experiences that mix real and virtual elements. Children can display virtual objects on a real-world scene observed through a video camera, and they can control the virtual world through interactions between physical objects. This project aims to expand the range of creative experiences for young authors, by presenting AR technology in ways appropriate for this audience. Download (Windows only) Installation Instructions Download the ZIP file, and unpack it.In the SpotDocumentation folder, you will find a file called “SPOT Cards”. AR SPOT Details The source code for Scratch was modified to include a camera feed, and novel functions were added to the library of programming blocks. Users can interact through two types of objects: cards and knobs. Resources

Pencil Code Scratch Exercise 2 Scratch Exercise 2: Creating a Simple Sight Word Game using Random Motion and Conditional Statements. The real power in programing lies in the ability to have objects ("Sprites") in your world interact with each other and cause changes in behavior or action. In Exercise 2 we will learn how to: Draw your own Sprite. Have a Sprite move randomly about the screen on its own power. Create an "If" statement to have the program do an action when the Sprites touch. Step 1: Create a new Sprite. 1. 5. 6. 7. 8. Step 2: Making the "after" move about the screen under its own power. 9. button to the scripts pane. 10. (forever tile) to the scripts area because we want this action to continue as long as the game is running. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. Step 3: When your Sprite touches the "after," an action will happen (sound will play). To accomplish this step the "after" sprite will need to know if it is "touching" Sprite1 and an action to do once they touch. 23. 24. 25. 26. 27. 28. 29.

Scratch: Making a simple game. « Digital Art For All This is done as a multiple step process and will be done over several classes. A five lesson plan is shown below. Each student will create their own version of this game with their own character and background, and their own rules for movement/food/enemy. There are enough variations to keep the game interesting and different from any other game in the class. Lesson 1. 1. Click on stage and Backgrounds tab and either import one of the Scratch backgrounds provided or paint your own. Delete the cat (use scissors) on the top and either create your own character or import one of the Scratch characters or import a character designed elsewhere (e.g. cute character designed as part of Inkscape lesson). Once a character has been imported, it can be further modified. 2. Lesson 2 1. In this example a small yellow circle (a simple gold coin) is created and named ‘food’. Set position of character and food, have food disappear when eaten, have character indicate it ate the food. 2. Lesson 3 Lesson 4

Scratch in Pre-algebra Class I have been using Scratch for a couple years in an elementary school in St. Paul. For math, I teach 7th grade pre-algebra to a gifted/talented class of 6th graders. The curriculum at this level in our district (Holt Level 3 Math) tends to directly teach concepts without much open-ended problem solving. Scratch is full of potential for using the math we were studying to solve interesting problems. I posted my beginning list of integration ideas on the resources tab.

Scratch Lessons Scratch is developed by the Lifelong Kindergarten group at the MIT Media Lab. Here is how Scratch website describe Scratch. "Scratch is a new programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web." I started to use Scratch about one and half year ago and am amazed at how well it's designed. I've been a professional programmer for more than 8 years and started to use Scratch to teach my 9-year-old boy and his classmates to program. I also used it to create small educational software for kids.