package mille.bean;

import java.util.ArrayList;

public class Deck
{
    private ArrayList<Card> cards;
    
    public Deck()
    {
        // fill in all Mille Bornes cards here
        // look on wikibook etc.
    }
    
    public void shuffle()
    {
        // rearrange all the cards in the deck
    }
    
    public Card getTopCard()
    {
        // returns the card at the top of the cards ArrayList
    }
    
    public Card takeTopCard()
    {
        // returns the top card and removes it from the Deck
    }
}

@@ -405,16 +405,60 @@
 rayList%0A
+        return cards.get(cards.size() - 1);%0A
     %7D%0A  
@@ -553,20 +553,121 @@
 om the Deck%0A
+        Card topCard = getTopCard();%0A        cards.remove(cards.size() - 1);%0A        return topCard;%0A
     %7D%0A%7D%0A

implement getTopCard() and takeTopCard()