Diamond Hunt Mock Programming Project.

Slides:



Advertisements
Similar presentations
GAME:IT Junior Learning Game Maker: The Control Tab.
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
How to make an educational Snakes and Ladders game in Scratch
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
CS001 Introduction to Programming Day 3 Sujana Jyothi
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Program Design and Development
The Program Design Phases
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
Mr. Wortzman. Tabs (Block Categories) Available Blocks Script Area Sprite Stage All sprites in this project.
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011.
Ms. Deveny Second Semester  Introductions  Interview your table partner  Name  Why taking CPD  Computer experience  Favorite game?
Spiral Rider PAGE 1. Set Up Scene 1.Add Stage-underwater scene 2.Add crab sprite 3.Add two fish sprites PAGE 2.
Programming & Scratch. Programming Learning to program is ultimately about learning to think logically and to approach problems methodically. The building.
Engineering 1020 Introduction to Programming Peter King Winter 2010.
By the end of this session you should be able to...
CPS120 Introduction to Computer Programming The Programming Process.
Summer Computing Workshop. Introduction  Boolean Expressions – In programming, a Boolean expression is an expression that is either true or false. In.
An Introduction to Programming with C++ Sixth Edition Chapter 7 The Repetition Structure.
Control Structures CPS120: Introduction to Computer Science Lecture 5.
Algorithms Writing instructions in the order they should execute.
 In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.  PHP Loops :  In.
Using Lists Games Programming in Scratch. Games Programming in Scratch Extension – Using Lists Learning Objectives Create a temporary data store (list)
24 Background Building 25 Computing Terminology, and Speed/Velocity Module 4 Notes: Sensing, Or Operator, Conditional Logic 28 Module 4 Algorithms,
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
Chapter 7: The Repetition Structure Introduction to Programming with C++ Fourth Edition.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Introduction to Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
DAY 4. MAKING SOMETHING ‘JUMP’ Simple! Move it a certain amount ‘up’ Glide back to your original spot.
Scratch Programming Cards
Scratch Helicopter Game
Movement Game Design (Scratch).
Broadcasting (Adding a new level)
Programming & Scratch.
Games Programming in Scratch
Scratch for Interactivity
FLOWCHARTS Part 1.
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
ECS10 10/10
Introduction To Flowcharting
Yenka Portfolio Level for this topic: Student Name : My Levels
Introduction to Object-Oriented Programming
While loops The while loop executes the statement over and over as long as the boolean expression is true. The expression is evaluated first, so the statement.
LESSON 11 – WHILE LOOPS UNIT 5 – 1/10/17.
Learning to Program in Python
CPS120: Introduction to Computer Science
Introduction to pseudocode
Scratch: selection / branching/ if / If…else / compound conditionals / error trapping by Mr. Clausen.
Coding Concepts (Basics)
Design and Implementation
ICT Programming Lesson 3:
ICT Gaming Lesson 3.
Console.WriteLine(“Good luck!”);
PYTHON: BUILDING BLOCKS Sequencing & Selection
Game Over Module 4 Lesson 2.
Starter....
The structure of programming
Python While Loops.
© A+ Computer Science -
Creating a Simple Game in Scratch
Thinking procedurally
Exploring Computer Science Lesson 4-12
Scratch 7B IT 1.
Presentation transcript:

Diamond Hunt Mock Programming Project. You are part of a team making a game called Diamond Hunt. Other programmers on your team have started the game and you have been tasked with completing it. You will be using scratch to complete the game.

Mock Programming Project. Diamond Hunt Mock Programming Project. You need to add the following features to the game: When the game starts, the miner should say “I am going to be rich!” When a diamond is touched by a miner it should disappear. When a diamond is touched the diamonds collected count should do up by one. When the miner has collected 5 diamonds he should say “I Win” for a second and then the game should stop. A monster should chase the miner When the monster touches the miner it should say “Game Over!” and stop the game. How would a flowchart help you plan?

Diamond Hunt Mock Programming Project. Task 1 In your evidence document – write up an introduction to the project and what your program is going to do.

Diamond Hunt Mock Programming Project. Task 2 From your list create a flowchart to describe the tasks you need to do. What are flowcharts? Flowcharts – Graphical and verbal illustrations of algorithms. Useful in describing any step by step procedure and making it easier to create programming code SHOW – THE FRIENDSHIP ALGORITHM

Mock Programming Project. Task 2 – Cont.. Diamond Hunt Mock Programming Project. Task 2 – Cont.. Practice on a Snakes and ladders game Start Throw the dice Move the coin Landed on a snake head? No – go to 5, Yes go to 4 Slide down the tail of the snake. Go to 8 Landed on the bottom of a ladder? No go to 7, Yes go to 6 Move up the ladder. Go to 8 Reached the last block of the game? No go to 8. Yes go to 9 Give the dice to the other player. Go to 1 Player who has reached the last block has won. Can you make a flowchart out of above?

Mock Programming Project. Task 2 – Cont.. Diamond Hunt Mock Programming Project. Task 2 – Cont.. Practice on a Snakes and ladders game Start Throw the dice Move the coin Landed on a snake head? No – go to 5, Yes go to 4 Slide down the tail of the snake. Go to 8 Landed on the bottom of a ladder? No go to 7, Yes go to 6 Move up the ladder. Go to 8 Reached the last block of the game? No go to 8. Yes go to 9 Give the dice to the other player. Go to 1 Player who has reached the last block has won. Can you make a flowchart out of above?

Diamond Hunt Mock Programming Project. Task 2 Create the flowchart for the Diamond hunt project – can you see where IF statements (Decisions) and LOOPS may go? Add this to your evidence document. Use either the Office Shapes Insert or www.draw.io

Mock Programming Project. Task 3 Programming your game. Diamond Hunt Mock Programming Project. Task 3 Programming your game. You need to show the following: Outputting to screen Sequencing instructions Storing data in variables Selection using IF Iteration An arithmetic operator A Boolean operator Comments How are you going to show these in your program – can you identify where these items might feature?

Mock Programming Project. Task 3 Add code to complete the following: Diamond Hunt Mock Programming Project. Task 3 Add code to complete the following: a) Add code to the Miner sprite so when the green flag is pressed the Miner says “I’m going to be rich!” for 1 second. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now completed “Outputting to screen”

Diamond Hunt Mock Programming Project. Task 4 You need to show storing data in variables and IF statements What is an IF Statement? Watch this video by Bill Gates:

Mock Programming Project. Task 4 An IF statement in scratch Diamond Hunt Mock Programming Project. Task 4 An IF statement in scratch The IF() block is a control block. The block will check it’s Boolean condition. If the condition is true, the blocks held inside it will run, and then the script will continue after. If the condition is false then the script inside will be ignored unless there is an ELSE condition.

Mock Programming Project. Task 4 Add code to complete the following: Diamond Hunt Mock Programming Project. Task 4 Add code to complete the following: b) When a diamond is touched by the miner it should disappear. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown a “Selection using IF”

Diamond Hunt Mock Programming Project. Task 5 Variables. Variables are used to store values. Why is it important to store values in games? In pairs discuss what values need to be stored in a game? What would happen if the game did not have variables?

Mock Programming Project. Task 5 Diamond Hunt Mock Programming Project. Task 5 Look at the following blocks. Describe what you think the following is doing? Which ones are the variables?

Mock Programming Project. Task 5 Add code to complete the following: Diamond Hunt Mock Programming Project. Task 5 Add code to complete the following: c) When a diamond is touched the diamonds collected count should go up by one. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown “Storing data in variables”

Mock Programming Project. Task 6 – Another IF Diamond Hunt Mock Programming Project. Task 6 – Another IF Add code to complete the following: d) When the miner has collected 5 diamonds he should say “I Win” for a second then the game should stop. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown “Selection using IF”

Mock Programming Project. Task 7 - Iteration Diamond Hunt Mock Programming Project. Task 7 - Iteration Using a repeat block can save a lot of scripting This code will be repeated 10 times. How could you change this condition to repeat code until something happens? Watch video on the repeat block.

Diamond Hunt Mock Programming Project. Task 7 - Iteration Using a repeat with an exit condition

Mock Programming Project. Task 7 – Iteration Diamond Hunt Mock Programming Project. Task 7 – Iteration Add code to complete the following: (e) Add a sprite of your choice and call it monster. The monster should chase the miner. It will do this by pointing towards the miner and moving one step. It should repeat this process until it is touching the Miner. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown “Iteration

Mock Programming Project. Task 8 – IF and broadcasting Diamond Hunt Mock Programming Project. Task 8 – IF and broadcasting Add code to complete the following: f) When the monster touches the miner it should say “Game Over!” and stop the game. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown another IF Statement

Mock Programming Project. Task 9 Add code to complete the following: Diamond Hunt Mock Programming Project. Task 9 Add code to complete the following: Add code to the blocks you used in (b) so that after the Miner has said “I’m going to be rich” that part of the program waits until 5 diamonds have been collected. The Miner then should say “I win” for one second before the program stops. Comment on scratch to explain what will happen. Screenshot your evidence and add it to your document – annotating in detail. Test it to see if it works and show evidence of this. You have now shown another IF Statement

Diamond Hunt Mock Programming Project. Task 10 Evaluating your Game. Write an evaluation of how well your game works. You should include: Any problems you had making it and how you overcame them Any bugs your program still has. Any future improvements that could be made to your program.