Building Memory - PowerPoint PPT Presentation

About This Presentation
Title:

Building Memory

Description:

Shuffles cards. Changes to Game. Creates the Deck and asks the deck to shuffle ... a shuffle method built into Java already don't have to write shuffle on our own! ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 5
Provided by: cseBu
Learn more at: https://cse.buffalo.edu
Category:

less

Transcript and Presenter's Notes

Title: Building Memory


1
Building Memory
  • Day 4 April 11, 2007

2
We can put cards on the screen!
  • BUT
  • We need to put pairs of cards on the screen in a
    random way
  • Creation of the Deckclass

3
Deck Class
  • Creates pairs of cards
  • Shuffles cards

4
Changes to Game
  • Creates the Deck and asks the deck to shuffle
  • We can use a shuffle method built into Java
    already dont have to write shuffle on our own!
Write a Comment
User Comments (0)
About PowerShow.com