Donnerstag, 30. Oktober 2008

Java Hearts Remarks5

EE3206/EE5805 Java Programming and Applications

There is a PlayerInfo class which holds 4 players in an ArrayList.
Each Player in turn contains an ArrayList to hold 13 cards.

swap3card() to swap 3 cards to a neighbor player.
sortcard() to sort the card in the ArrayList.



Keine Kommentare: