Example:
var items = ['hat', 'glove', 'ball', 'bat']; for (var item of items) { console.log("did you bring your: " + items + " ?"); }
Example 2:
var appleSizes = [50, 60, 55, 50, 62, 66, 70]; fill(255, 0, 0, 0.1); //transparent red for (var size of appleSizes) { ellipse(250,250,size, size); }
In this course you will become familiar with the Scratch programming environment by building a collection of simple games.
Learn the basics of the Scratch programming language by building a collection of simple games.
Create a game where the player pilots a helicopter with the mouse and collects coins while avoiding obstacles
Create spiral artwork that changes color and scrolls across the screen.
Make a personality quiz on a website to find out what kind of animal you are!
In the first part of this course we will be making a simplified version of the game which allows the player to move and to collect coins