Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building Memory… Day 2 – November 15, 2006. What do we want the game to look like? Window to appear Start game button Difficulty level selection Number.

Similar presentations


Presentation on theme: "Building Memory… Day 2 – November 15, 2006. What do we want the game to look like? Window to appear Start game button Difficulty level selection Number."— Presentation transcript:

1 Building Memory… Day 2 – November 15, 2006

2 What do we want the game to look like? Window to appear Start game button Difficulty level selection Number of players selection –Is there an AI player selection Explain Rules Quit Button

3 What’s the core functionality of the game? Flipping cards Knowing if 2 flipped cards match Starting the game What happens when 2 cards match Only flip 2 cards Only flip over, not allowed to flip back over The game itself

4 Really Big Core All of those things are needed, but where do we start – what is the simplest thing the game does?

5 Starting point Create a card and make it appear on the screen (Perhaps there are other “correct” starting points too, but this is where we will start)

6 What types of things do we need? Frame –Contains a row/column Contains a DrawingCanvas –Contains a Card

7 Applet or Application? Let’s design the game so it can be either. Put JFrame up on screen to start – make sure we can close it.

8 What goes into the frame? Our game is what is inside the frame. Game is our top-level object. Game should be graphical

9 Two options to make Game graphical Game should extend some graphical component to allow us to put it on the frame Game could contain some graphical components and would provide a way to display them on the frame.


Download ppt "Building Memory… Day 2 – November 15, 2006. What do we want the game to look like? Window to appear Start game button Difficulty level selection Number."

Similar presentations


Ads by Google