Class BingoGame

java.lang.Object
  extended by BingoGame

public class BingoGame
extends java.lang.Object

Bingo Game:
A BingoGame object controls the play of a game of bingo.

Version:
April 21, 2009
Author:
Kelly Schultz and Alyce Brady

Field Summary
static int MAX_VALUE
          The numbers on the Bingo cards will range from 1 to MAX_VALUE.
 
Constructor Summary
BingoGame()
          Constructs an object that controls games of Bingo.
 
Method Summary
 void onCompleteColumnWinsButtonClick()
          Includes or removes the Complete Column Marked winning strategy when user clicks the appropriate button.
 void onCompleteRowWinsButtonClick()
          Includes or removes the Complete Row Marked winning strategy when user clicks the appropriate button.
 void onPlayButtonClick()
          Plays a game of Bingo when user clicks the Play button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final int MAX_VALUE
The numbers on the Bingo cards will range from 1 to MAX_VALUE.

See Also:
Constant Field Values
Constructor Detail

BingoGame

public BingoGame()
Constructs an object that controls games of Bingo.

Method Detail

onCompleteColumnWinsButtonClick

public void onCompleteColumnWinsButtonClick()
Includes or removes the Complete Column Marked winning strategy when user clicks the appropriate button.


onCompleteRowWinsButtonClick

public void onCompleteRowWinsButtonClick()
Includes or removes the Complete Row Marked winning strategy when user clicks the appropriate button.


onPlayButtonClick

public void onPlayButtonClick()
Plays a game of Bingo when user clicks the Play button. (Precondition: setDisplay must be called first.)