
public class Card {

}

@@ -1,24 +1,790 @@
-%0Apublic class Card %7B%0A%0A%7D%0A
+package Engine;%0A%0A/**%0A * User: AnubhawArya%0A * Date: 9/13/13%0A * Time: 3:00 PM%0A */%0Apublic class Card %7B%0A    private String rank;%0A%0A    public Card(String rank) %7B%0A        this.rank = rank;%0A    %7D%0A%0A    public int%5B%5D getValues() %7B%0A        if (rank.equals(%22A%22))%0A            return new int%5B%5D%7B1, 11%7D;%0A        else if (rank.equals(%22J%22) %7C%7C rank.equals(%22Q%22) %7C%7C rank.equals(%22K%22))%0A            return new int%5B%5D%7B10%7D;%0A        else%0A            return new int%5B%5D%7BInteger.parseInt(rank)%7D;%0A    %7D%0A%0A    public String toString() %7B%0A        if (rank.equals(%22A%22))%0A            return %22Ace%22;%0A        else if (rank.equals(%22J%22))%0A            return %22Jack%22;%0A        else if (rank.equals(%22Q%22))%0A            return %22Queen%22;%0A        else if (rank.equals(%22K%22))%0A            return %22King%22;%0A        else%0A            return rank;%0A    %7D%0A%7D

Add card from master