Adding a menu bar
Now that we have a graphic representation of the card deck, let's begin to add some of the mechanics of playing to the card game. A menu bar is needed to drive these mechanics. Let's add it now.
Add a Menu Bar part to the window part. This gives you a Menu Bar with one Menu Bar Item part. Add another Menu Bar Item part to the Menu Bar part. Use direct editing to change the two Menu Bar Item part labels to Game and Deck.
Add three Menu Choice parts to each of the pop-up menus that are connected to the Menu Bar part. Use direct editing to change the labels of the pop-up menu that is connected to the Game menu bar item to the following:
New player
New deck
New hand
Use direct editing to change the labels of the other pop-up menu to the following:
Shuffle
Flip
Discard selected
Last modified date: 01/29/2015