this will let you see the game you are going to play on the inside. it will help you see what all...

11
Super Awesome Math Game

Upload: ashley-terry

Post on 16-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Super Awesome Math Game

Page 2: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

This will let you see the game you are going to play on the inside.

It will help you see what all goes into creating instance to that goes into setting up a problem or a situation.

Programming Introduction

Page 3: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Variables hold input from the user or programmer.

Look at the blue arrow; the answer is a variable that is holding 2+2.

In programming this would be

what the variable equaled.

Example: Lets call that this variable

answer = 2+ 2

Answer is the name of the variable.

2 + 2 is the content that is inside the variable.

Variables

Page 4: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

If still confused, use your Name as a variable.

Your body would be the Contents

of your Name.

So in this case Monkey = Body as a

reference.

When someone calls your

Name you turn and look at them.

Variables Cont.

Monkey

Page 5: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Methods – are a group of statements that are given a name.

There are multiple methods for solving most situations.

One example to your right starts at when

clicked

This will be repeated till you want the

program to end.

Method

Page 6: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Conditional Branching – is taking a path and heading that direction, but has to meet a requirement.

In this program the if statement you see is the start of the conditional branch.

The condition is that if the problem is

answered correctly it gives you a correct.

If the answer input is wrong it tells you to

try again.

Conditional Branching

Page 7: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Methods – are a group of statements that are given a name.

There are multiple methods for solving most suituations.

One example to your right starts at when

clicked

This will be reapeated till you want the

program to end.

Method

Page 8: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Loops – something that repeats to meet a certain point or idea.

Look at the red arrow.

If you follow the bar up you will see that this

will repeat twice.

This problem repeating twice if the first answer

is wrong has created a loop.

Loops

Page 9: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Boolean – is a true or false deciding a path for a statement.

Look at the blue arrow this is the statement that is going to be true or false.

If what the user input(set1) is equal to the

answer then the boolean is true and stops

at the red arrow.

If what the user input(set1) is not equal to

the answer then the boolean is false and

begins at the red arrow.

Boolean Logic

Page 10: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Sound is imported when the answer is wrong or right.

Look at the red arrow this sound is more cheerful when the answer is correct.

Look at the blue arrow this is more dramatic

for a wrong answer.

This continues for each instance of questions.

Sound

Page 11: This will let you see the game you are going to play on the inside. It will help you see what all goes into creating instance to that goes into setting

Super Awesome Math Game :

Open the game up.

The monkey will give you a math problem.

Answer each question to your best ability.

You have 2 chances to get each problem right.

On the second time you get the problem wrong the monkey will proceed to the next problem.

Starting the Game