Samstag, 4. Oktober 2008

Java Hearts Remarks3

EE3206/EE5805 Java Programming and Applications

Java Hearts Project Remarks3

In desgining the java Hearts game project, Eck's book is a very good reference. See Chap 5.4, 6 and 12.

We need 3 classes: Card, Hand and Deck

1. How to randomize,shuffle cards?

2. For the swap direction , "x mod 4 =0" to decide the direction of swapping the 3 cards


http://math.hws.edu/javanotes/index.html



Keine Kommentare: