Building Memory - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Building Memory

Description:

... two pictures (face, and background) Ability to flip from one ... Background Music. Allow the user to customize their memory-playing experience. Help/Hint Button ... – PowerPoint PPT presentation

Number of Views:17
Avg rating:3.0/5.0
Slides: 23
Provided by: cseBu
Category:

less

Transcript and Presenter's Notes

Title: Building Memory


1
Building Memory
  • Notes from class on 11/13/06

2
The Game
  • Think about what types of objects we will need in
    our system and some of the properties and
    capabilities of those objects.
  • The next slides show the results of our
    brain-storming

3
CompoundGraphicBetter Name - Card
  • Has two pictures (face, and background)
  • Ability to flip from one to another

4
Theme
  • All cards that we are matching should have a
    theme.

5
Deck
  • Holds all the cards

6
Timer
  • Controls the length of time the user can play the
    game.

7
Cursor
  • Change cursor to a hand or some other image
    rather than an arrow.

8
Board
  • Place to put the cards
  • Randomly shuffled at first

9
Card Holder
  • Holds onto the first card that has been selected.
  • Perhaps holds onto the second card that has been
    selected as well.

10
Game Engine
  • Mouse Listener talks to it
  • Knows which cards have been selected.

11
MouseListener
  • Listens for cards to be clicked upon.

12
Restart/New Game Button
  • Starts/restarts game

13
Score
  • Keeps the score
  • Need to display score somehow

14
Background Music
  • Allow the user to customize their memory-playing
    experience

15
Help/Hint Button
  • Gives the player a hint about where a match could
    be.

16
Difficulty Selection Mechanism
  • Allows the user to specify how easy/difficult
    they want their board to be.

17
Number of Players Selection Mechanism
  • One-player or two-player game

18
Player
  • Object that represents the player

19
AI Simulator
  • Allow human player to play against the computer.
  • Need to change player selection to allow for
    human vs. human or human vs. computer players.

20
Menu
  • Organize all the different settings and
    customizations for the game

21
Some Notes
  • Some of these objects are directly from the
    problem domain
  • Some of these objects creep into implementation
    details
  • Focus first on the overall system and then worry
    about the specific implementation details.

22
Next time
  • Think about how the user will interact with the
    system
  • What should the user have to do to play the
    game
  • How should the game look
Write a Comment
User Comments (0)
About PowerShow.com