Search:

Type: Posts; User: GregBrannon

Search: Search took 0.10 seconds.

  1. Re: Trying to wrap my head around Objects with this simple Card Game!

    Go easy on yourself. The answer was likely hidden by your general confusion over objects. If you keep at it, SOON the fog will lift.
  2. Re: Trying to wrap my head around Objects with this simple Card Game!

    Use Card's getRank() method to get the card objects' values:

    in cardSum = card1.getRank() + card2.getRank();

    card1 and card2 are card objects, and in your program are probably kept in a Deck,...
  3. Re: Trying to wrap my head around Objects with this simple Card Game!

    1. As objects, instances of the Card class already have a value or should have. The basic Card attributes or characteristics are stored in the object's instance variables, including its value
    ...
Results 1 to 3 of 3