/**
 * Simple game just to pick 2 cards , print and tell the total
 * @author Pepper
 * @version 1/26/2015
 */
public class SimpleGame2
{
    /**
     * The main method, for command-line invocation.
     * pick 2 cards , print and tell the total
     */
    public static void main (String[] args)
    {
        System.out.println ("Starting Game");
        try {
            Card2 first = new Card2 (1,"SPADE");
            Card2 second = new Card2 (3,"HEART");
            System.out.println("first card is " + first + " and the second card is " + second );
            int sum = first.getcardScore() + second.getcardScore();
        }
        catch (IllegalArgumentException ex) 
        { System.out.println("Error on creating cards: " + ex.getMessage());}          
    }
}
