Brain Game. Introduction. Scratch

Similar documents
In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds.

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Add in a new ghost sprite, and a suitable stage backdrop.

Clone Wars. Introduction. Scratch. In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

Create Your Own World

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

ChatBot. Introduction. Scratch. You are going to learn how to program your own talking robot! Activity Checklist. Test your Project.

You are going to learn how to create a game in which a helicopter scores points by watering flowers in the city.

Create Your Own World

Rock Band. Introduction. Scratch. In this project you ll learn how to code your own musical instruments! Activity Checklist.

In this project we ll make our own version of the highly popular mobile game Flappy Bird. This project requires Scratch 2.0.

In this project you ll learn how to create a game in which you have to save the Earth from space monsters.

In this project you ll learn how to create a game, in which you have to match up coloured dots with the correct part of the controller.

Step 1 : Earth and Mars Orbit the Sun

Fireworks. Level. Introduction: In this project, we ll create a fireworks display over a city. Activity Checklist Follow these INSTRUCTIONS one by one

Create a game in which you have to guide a parrot through scrolling pipes to score points.

Whack-a-Witch. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

In this project you ll learn how to create a platform game, in which you have to dodge the moving balls and reach the end of the level.

Ghostbusters. Level. Introduction:

Create a Simple Game in Scratch

Scratch for Beginners Workbook

Creating Computer Games

Let s start by making a pencil, that can be used to draw on the stage.

Teaching Kids to Program. Lesson Plan: Interactive Holiday Card

Open the Tech Toys Scratch project. Your club leader will give you a copy of this project, or you can open it online at jumpto.cc/toys-go.

Flappy Parrot Level 2

Fish Chomp. Level. Activity Checklist Follow these INSTRUCTIONS one by one. Test Your Project Click on the green flag to TEST your code

Lesson 8 Tic-Tac-Toe (Noughts and Crosses)

Pong Game. Intermediate. LPo v1

Let s start by making a pencil that can be used to draw on the stage.

STEP-BY-STEP THINGS TO TRY FINISHED? START HERE NEW TO SCRATCH? CREATE YOUR FIRST SCRATCH PROJECT!

Introduction to Turtle Art

Programming with Scratch

GAME PROGRAMMING & DESIGN LAB 1 Egg Catcher - a simple SCRATCH game

AIM OF THE GAME GLACIER RACE. Glacier Race. Ben Gems: 20. Laura Gems: 13

In this project you ll learn how to code your own musical instruments!

Lesson 2 Game Basics

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott

Alright! I can feel my limbs again! Magic star web! The Dark Wizard? Who are you again? Nice work! You ve broken the Dark Wizard s spell!

Maths Quiz. Make your own Mental Maths Game

Explore and Challenge:

A. creating clones. Skills Training 5

Project 1: Game of Bricks

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute

CISC 1600, Lab 2.2: More games in Scratch

G54GAM Lab Session 1

a. the costumes tab and costumes panel

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Module 4 Build a Game

pla<orm-style game which you can later add your own levels, powers and characters to. Feel free to improve on my art

Lesson 1 Getting Started. 1. What are the different ways you interact with computers?

Programming I (mblock)

The Beauty and Joy of Computing Lab Exercise 10: Shall we play a game? Objectives. Background (Pre-Lab Reading)

5.0 Events and Actions

1hr ACTIVITY GUIDE FOR FAMILIES. Hour of Code

Game Making Workshop on Scratch

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1

Where's the Treasure?

Copyright 2017 MakeUseOf. All Rights Reserved.

Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0

In this project, you ll learn how to create 2 random teams from a list of players. Start by adding a list of players to your program.

Before displaying an image, the game should wait for a random amount of time.

Pong! The oldest commercially available game in history

Computer with Scratch program.

Defend Hong Kong s Technocore

PowerPoint 6-Pack Training Games Volume 2 Help

KEEPING SCORE: HOW TO USE SCORES, LIVES AND HEALTH

1) How do I create a new program? 2) How do I add a new object? 3) How do I start my program?

Overview. The Game Idea

3 Student plays. Results in Student Follow-up System (SFS) 2. Instruction manual app:

The purpose of this document is to outline the structure and tools that come with FPS Control.

Scratch Coding And Geometry

In this project you will learn how to write a Python program telling people all about you. Type the following into the window that appears:

Pass-Words Help Doc. Note: PowerPoint macros must be enabled before playing for more see help information below

How to do automatic horizontal background scrolling in Scratch

1 Shooting Gallery Guide 2 SETUP. Unzip the ShootingGalleryFiles.zip file to a convenient location.

Development Outcome 2

Programming. covers Scratch 2.0 and Scratch 1.4. Foreword by Mitchel Resnick MIT Media Lab PLAIN ENGLISH EASY TO FOLLOW FULLY ILLUSTRATED

Ada Lovelace Computing Level 3 Scratch Project ROAD RACER

SAMPLE CHAPTER

GameMaker. Adrienne Decker School of Interactive Games and Media. RIT Center for Media, Arts, Games, Interaction & Creativity (MAGIC)

How to use Photo Story 3

[Version 2.0; 9/4/2007]

Controlling a Sprite with Ultrasound

Kaltura CaptureSpace Lite Desktop Recorder: Editing, Saving, and Uploading a Recording

Objective of the lesson

Meteor Game for Multimedia Fusion 1.5

This is an excerpt of

Scorer with BridgePads Quick Guide to Teams Scoring

Your First Game: Devilishly Easy

Mac 6-Pack Training Games Vol2 Help

How to Make Games in MakeCode Arcade Created by Isaac Wellish. Last updated on :10:15 PM UTC

Parallax Scrolling Tutorial Created in Drogheda by Seamus Minogue and updated for Clonakilty CoderDojo 15/06/2012 PARALLAX SCROLLING

GAME:IT Junior Bouncing Ball

OptimalVideoResume Help

Welcome to the Break Time Help File.

Unit 5: What s in a List

Installation Instructions

Creating a Survey on LimeSurvey

Transcription:

Scratch 2 Brain Game All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction In this project you ll learn how to create a times table quiz, in which you have to get as many answers correct as you can in 30 seconds. Activity Checklist Test your Project Save your Project Follow these INSTRUCTIONS one by one Click on the green flag to TEST your code Make sure to SAVE your work now 1

Step 1: Creating questions Let s start by creating random questions for the player to answer. Activity Checklist 1. Start a new Scratch project, and delete the cat sprite so that your project is empty. You can find the online Scratch editor at jumpto.cc/scratch-new. 2. Choose a character and a backdrop for your game. You can choose any you like! Here s an example: 3. Create 2 new variables called number 1 and number 2. These variables will store the 2 numbers that will be multiplied together. 2

4. Add code to your character, to set both of these variables to a random number between 2 and 12. 5. You can then ask the player for the answer, and let them know if they were right or wrong. 6. Test your project fully, by answering one question correctly and one with the wrong answer. 7. Add a forever loop around this code, so that the player is asked lots of questions. 8. Create a countdown timer on the stage, using a variable called time. The Balloons project has instructions for making a timer (in step 6) if you need help! 9. Test your project again - you should be able to continue asking questions until the time runs out. 3

Save your project Challenge: Changing costumes Can you change your character s costumes, so that they respond to the player s answer? Challenge: Adding a score Can you add a score to your game? You can add a point for every correct answer. If you re feeling mean, you could even reset the player s score to 0 if they get a question wrong! Save your project 4

Step 2: Multiple games Let s add a play button to your game, so that you can play lots of times. Activity Checklist 1. Create a new Play button sprite, which your player will click to start a new game. You can draw it yourself, or edit a sprite from the Scratch library. 2. Add this code to your new button. This code shows the play button when your project is started. When the button is clicked, it is hidden and then broadcasts a message that will start the game. 3. You ll need to edit your character s code, so that the game starts when they receive the start message, and not when the flag is clicked. 5

Replace the when flag clicked code with when I receive start. 4. Click the green flag and then click your new play button to test it. You should see that the game doesn t start until the button is clicked. 5. Did you notice that the timer starts when the green flag is clicked, and not when the game starts? Can you fix this problem? 6. Click on the stage, and replace the stop all block with an end message. 6

7. You can now add code to your button, to show it again at the end of each game. 8. You ll also need to stop your character asking questions at the end of each game: 9. Test your play button by playing a couple of games. You should notice that the play button shows after each game. To make testing easier, you can shorten each game, so that it only lasts a few seconds. 10. You can even change how the button looks when the mouse hovers over it. 7

Save your project Challenge: Start screen Can you add another backdrop to your stage, which will become your game s start screen? You can use the when I receive start and when I receive end blocks to switch between backdrops. You can also show and hide your character, and even show and hide your timer by using these blocks: Save your project 8

Step 3: Adding graphics Instead of your character just saying yes! :) or nope :( to the player, let s add some graphics that will let the player know how they are doing. Create a new sprite called Result, containing both a tick and a cross costume. Change your character s code, so that instead of telling the player how they did, it broadcasts correct and wrong messages instead. You can now use these messages to show the tick or cross costume. Add this code to your new Result sprite: 9

Test out your game again. You should see a tick whenever you get a question correct, and a cross whenever you get one wrong! Have you noticed that the code for when I receive correct and when I receive wrong is nearly identical? Let s create a function to make it easier for you to make changes to your code. On your Result sprite, click More Blocks, and then Make a Block. Create a new function called animate. 10

You can then add the animation code into your new animation function, and then just use the function twice: Now, if you want to show the tick and the cross for a longer or shorter time, you only need to make one change to your code. Try it! Instead of just showing and hiding the tick and the cross, you could change your animation function, so that the graphics fade in. 11

Save your project Challenge: Improved animation Can you improve the animation of your graphics? You could code the tick and cross so that they fade out as well as fade in. Or, you could use other cool effects: Save your project 12

Challenge: Sound and music Can you add sound effects and music to your game? For example: Playing a sound when the player gets an answer right or wrong; Adding a ticking sound to your countdown timer; Playing a sound when the time is up; You could also constantly play music on a loop (if you re not sure how to do this, step 4 of the Rock Band project will help you). Save your project 13

Challenge: Race to 10 points Can you change your game, so that instead of answering as many questions as they can in 30 seconds, the player has to see how quickly they can get 10 questions correct? To do this, you ll only need to change your timer code. Can you see what needs to be changed? Save your project 14

Challenge: Instruction screen Can you add an instructions screen to your game, telling your player how to play the game? You ll need an Instructions button, and another stage background. You may also need a Back button to take you to the main menu. Save your project 15