rolec
Class Game

java.lang.Object
  extended by rolec.Game

public class Game
extends java.lang.Object


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

Game

public Game(int p,
            Deck d,
            boolean s)
Method Detail

play

public void play(int numberOfGames,
                 int numberScored)
Plays a number of games of Frank's Zoo

Parameters:
numberOfGames - the number of games to be played
numberScored - the number of games over which the score should be calculated

printResults

public void printResults()
Prints the number of wins and the score for each player