|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectrolec.Game
public class Game
| Constructor Summary | |
|---|---|
Game(int p,
Deck d,
boolean s)
|
|
| Method Summary | |
|---|---|
void |
play(int numberOfGames,
int numberScored)
Plays a number of games of Frank's Zoo |
void |
printResults()
Prints the number of wins and the score for each player |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Game(int p,
Deck d,
boolean s)
| Method Detail |
|---|
public void play(int numberOfGames,
int numberScored)
numberOfGames - the number of games to be playednumberScored - the number of games over which the score should be calculatedpublic void printResults()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||