Building Memory… Day 7 – April 18, 2007. Mouse Listener Attached listeners to each card (but the back image only) When click event is generated, simply.

Slides:



Advertisements
Similar presentations
How to make a Powerpoint Presentation.
Advertisements

Michigan History. I currently live in the State of Michigan. Michigan history is an important part of our curriculum, starting with first grade. I recently.
Click mouse to continue GROWING A FACTOR TREE. Click mouse to continue Can we grow a tree of the factors of 180? 180 Can you think of one FACTOR PAIR.
Y A S O O B A L I b o r n o n 1 9 t h F e b r u a r y i n K a n p u r d i s t r i c t o f U t t a r P r a d e s h. H e s t a r t e d s i n g i.
Alfredo Perez Resident Mathematician Texas A&M University GK-12 Program.
Building Memory… Notes from class on 4/4/07. The Game First understand what we are trying to build. Then, create a list of requirements/functionality.
Building Memory… Day 5 – November 27, Need to flip cards Create a remove method to remove from drawing canvas Call a show method to show on the.
Building Memory… Day 3 – November 17, Two options to make Game graphical Game should extend some graphical component to allow us to put it on the.
Building Memory… Notes from class on 4/4/07. The Game First understand what we are trying to build. Then, create a list of requirements/functionality.
Building Memory… Day 4 – November 20, Some clean up from last time Applet class can now be run as either an Applet or an Application Made picture.
Building Memory… Notes from class on 11/13/06. The Game Think about what types of objects we will need in our system and some of the properties and capabilities.
CSE 115 Week 12 March 31 – April 4, Announcements March 31 – Exam 8 March 31 – Exam 8 April 6 – Last day to turn in Lab 7 for a max grade of 100%,
Building Memory… Day 2 – November 15, What do we want the game to look like? Window to appear Start game button Difficulty level selection Number.
Slide Transitions Slide Show, Slide Transition opens Slide Transition task pane Practice each option setting to select the transition style, its speed,
The Laws of Probability As They Pertain To Genetics.
Steps to start Have a good clear photograph of your face or Head and shoulders from the front and the side (profile)
Contraction Memory Contents: Box, set of contraction cards, instructions, 6 answer keys Instructions: 1.Place all cards blank side down in a group on a.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
Comprehension Center Activities. Comprehension Card Write 8 sentences about the story. Make some true and some false. Give them to your partner to answer.
Input Devices What is input? Everything we tell the computer is input.
Mapwing Tutorial By: Jake Quilliams 11/7/ First, Go to this website 2. Start your Virtual Tour here by choosing CREAT A.
You Need A Deck Of Cards For This One. Click Your Mouse To Begin!!!!
Introduction to Windows Programming
Don’t Believe Everything You See!. What do you see? What’s happening in the image? Is this a painting, photograph, drawing, or some other type of image?
Visual Basic Games: Week 4 Recap Parallel structures Initialization Prepare for Memory Scoring Shuffling Homework: when ready, move on to next game/chapter.
Decimals 100 Game Will you be the first to put the decimals in order? Simply arrange them from smallest to largest. It’s easy! But don’t get too confident…
Links take you to…  Different slides in your presentation  A different PowerPoint presentation  Any program - (Word can be used for example to complete.
ECG INTEGRATION MAC600 SD Card – TPP SystmOne Intelligent Integration GE MAC600 ECG.
Using 123Design There are lots of skills that even we haven’t learnt how to do yet! However we are going teach you a few key skills that will help you.
 Are the opposite of positive numbers  All we want to know is how far away ZERO is
- Saie Deshpande. Game Design Idea 1 Can be played by or.
Contraction s What is a contraction ? A contraction is putting two words together using an apostrophe ( ‘ ).
When you see this set of dice, look for combinations you recognize. Or just look then tell a partner what you saw or remember when the image is gone Or.
CIS 338: Events Dr. Ralph D. Westfall April, 2011.
Module 1 lesson 5. Let’s Happy Count the Say Ten Way. Let’s start at 6 tens 2 Now try it for 30 seconds with your partner.
Field Trip #30 A Memory Game By Keith Lynn. View A View is the basic building block of an app Some Views hold other views An example of this is GridLayout.
» The thief and house program we used last time is refactored to follow the MVC pattern » Now it consists of four parts: ˃AScene (model) ˃AThiefController.
The Engagement Strikes Back with Vocabulary Intervention Apps Presenters: Noemi Gonzalez Yecenia Pulido.
THE MOUSE Left Click THE MOUSE Right Click.
The Laws of Raising a Power to a Power & Negative exponents
1. Multiplying by 10,100,1000 Shortcut?S Add one 0 Multiply by 10
Reflect across the y-axis
Warm up: write the equation of the line described
EMR field in Portals Work History page
“Alice  Java” workshop
How to create a flip or camera video
Some notes about adding and subtracting integers
Introduction to Object-Oriented Programming
BYOB – Costumes.
Solving the Rubik’s® 2x2 Cube
3D Reconstruction from 2D Projections
Transferring Pictures – Part 2
זכויות סוציאליות.
Welcome! April 3rd, 2017 Monday
Pembrey at war – Lesson 4.
1st/2nd Grade Math Games Family Math Night.
Introduction to Grasshopper for rhino
Science Test CFA 02 Common Formative Assessment Prototype Testing
The Magician’s Eye.
Building Memory… Day 3 – April 9, 2007.
JEOPARDY! Click Once to Begin A game show template.
CLICK TO START.
CLICK TO START.
Solving the Rubik’s® 2x2 Cube
I have… I have… Who has 3:40? Who has 12:20? I have… I have…
HOW TO PLAY POKER.
Call Now : Click : -
Call Now : Click : -
Call Now : Click : -
Ready to use ESL activities for busy English Teachers
Presentation transcript:

Building Memory… Day 7 – April 18, 2007

Mouse Listener Attached listeners to each card (but the back image only) When click event is generated, simply remove the back of the card from the drawing canvas and put the front of the card on the canvas

Viola Clicking works Since listener not attached to the front, further clicks will not be recognized.

State Design Pattern The game can be in three distinct states (zero cards face up, one card face up, and two cards face up). Once we have two cards face up, we don’t want clicks to be recognized and no more cards should flip over

State Design Pattern Create a state object for each of the states. State transition for the game happens when the user clicks.

Viola Now, we can not click on more than two images. We need to think about how to test for “matching” images.