Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
F
G
L
M
N
O
P
R
S
T
W
W
WHITE_LABEL
- Static variable in class
TicTacToeGame
WhiteBlackGame
- class
WhiteBlackGame
.
Tic-Tac-Toe Game:
A
WhiteBlackGame
object controls the execution of a game that alternates between 2 players called white and black.
WhiteBlackGame(Player, Player)
- Constructor for class
WhiteBlackGame
Constructs a game for 2 players, white and black.
whitePlayer()
- Method in class
WhiteBlackGame
Returns the player represented by white.
whitesTurn()
- Method in class
WhiteBlackGame
Returns true if it is now white's turn; false otherwise.
whiteWon()
- Method in class
TicTacToeGame
Returns true if the simulation is over and white won; false otherwise.
whiteWon()
- Method in class
WhiteBlackGame
Returns true if the game is over and white won; false otherwise.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
F
G
L
M
N
O
P
R
S
T
W