How is the concept of parallelism seen in the snake game?

Slides:



Advertisements
Similar presentations
Create a Simple Game in Scratch
Advertisements

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Create a Simple Game in Scratch
Creating a Basic Pacman game
This Snake is Down Right Fierce Charles Hung Final Project.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech Oct 2010.
SCRATCH This Design Notebook belongs to:. 3 What are the different ways you interact with computers? List your answers here: 5.
Kindergarten Math Janelle Ward. Lesson Objectives Students will be able to identify and describe shapes 100% of the time. Students will be able to identify.
S3 BLOCK 8 Area and volume Area Learning Outcomes
S3 BLOCK 8 Area and volume 1. Area I can find the area of the following 2D shapes.  Rectangle  Triangle  Trapezium  Circle.
Spiral Rider PAGE 1. Set Up Scene 1.Add Stage-underwater scene 2.Add crab sprite 3.Add two fish sprites PAGE 2.
Visual Basic .NET BASICS
Scratch Programming Lesson 2 First glance to programming logic.
Institute for Personal Robots in Education (IPRE)‏ CSC 170 Computing: Science and Creativity.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Geometry. 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 are.
Digital Art in Scratch part 1 Barb Ericson Georgia Tech May 2011.
Brick Wall Homework Overview Brick wall Two types of row Big Brick Row Alternate Brick Row.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
1 Project designed and created by M. Shajith Kumar.
Drawing with the Pen Barb Ericson Georgia Tech June 2011.
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.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Cloning in Scratch Computer App Session 6. Cloning in Scratch Learning Objectives: I will clone sprites in Scratch to create copies of an existing sprite.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
Animation in flash. Frame-by-Frame Animation An animation is made from a series of framed images displayed one after the other to create the motion. Flash.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Using MIT Scratch for Programming and Control Programming 9.
Create a Halloween Computer Game in Scratch
Main Program Add Needed Libraries i =0 i <5 Draw boundary lines i++
Games Programming in Scratch
Scratch for Interactivity
Exploring Mathematical Relationships Module 5: Investigation 3
Building with Numbers Module 4: Investigation 3
Scratch for Interactivity
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
The One Where You Scratch
Module 2 Lesson 3 Over and Over Again
Count reliably up to 10 items, add and subtract single digit numbers
SES First Grade Field Trip
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Extend Text Editor to Draw shapes
Development Laboratory
Tank Game Part 2 of 6.
Objectives To understand how the pen tool works
Lesson 3.2 Review: Identifying concepts
ICT Department- Scratch
Mod 2 Lesson 2 Repeating Debugging
Game Over Module 4 Lesson 2.
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Module 2 Lesson 3 Over and Over Again
Lesson Quizzes Standard Lesson Quiz
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Creating a Simple Game in Scratch
Game Programming Algorithms and Techniques
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Scratch Racing.
CSC 221: Introduction to Programming Fall 2018
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Pen Cards Pen Cards Back and Forth Draw a Line Special Effects
Exploring Computer Science Lesson 4-8
Using MIT Scratch for Programming and Control Exercise 5 – Drawing with Scratch Year 9 ICT Autumn Term 2007.
Presentation transcript:

How is the concept of parallelism seen in the snake game?

History of the Snake Game Arcade game that originated in the 1970’s and is now considered a classic Players control a snake that roams around Snake eats food while avoiding tail and walls Each time the snake eats the food the tail grows longer

Scratch Game Requirements Snake needs to grow after eatting food Game over when: Snake runs into itself Snake runs into boundaries Keep score Press space or enter to begin Arrows must control the snake Start at position 0,0

Variations on Snake Game Play 3 snake games on snakegame.net Comment in your journal on: Speed of snake Score Growth of snake Size of playing field Added twist to game/rules Annoying parts of game/glitches

Parallelism Making things happen at the same time Example: When snake eats food, score increases & snake grows Can you think of any other examples?

Pen Tool Lines, dots, rectangles, circles are the easiest shapes to create Blocks related to pen: Clear – erases all previously drawn pens Pen Down – starts drawing pen Pen Up – stops drawing pen Set pen color to – sets color of line

What you need to figure out! How can you add more tail only when the snake eats food? How can you regulate the size of the snake? Do you need to have more than two sprites?