Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
G
I
L
N
O
P
R
S
T
W
X
A
actionPerformed(ActionEvent)
- Method in class
TicTacToe.Button
actionPerformed(ActionEvent)
- Method in class
TicTacToe.Reset
B
bTurn
- Variable in class
TicTacToe
button
- Variable in class
TicTacToe
C
count
- Variable in class
TicTacToe
D
disableButtons()
- Method in class
TicTacToe
Disables the buttons that haven't been clicked once a game is finished.
G
grid
- Variable in class
TicTacToe
I
init()
- Method in class
TicTacToe
L
lScore
- Variable in class
TicTacToe
lTurn
- Variable in class
TicTacToe
N
north
- Variable in class
TicTacToe
O
oScore
- Variable in class
TicTacToe
P
presses
- Variable in class
TicTacToe
R
reset
- Variable in class
TicTacToe
S
startup()
- Method in class
TicTacToe
This could also be in the init() method but this way i can call on the startup() method to reset the grid and keep the scores.
symbolCheck()
- Method in class
TicTacToe
This method checks what symbol should be set as text on the button that has been clicked.
T
TicTacToe
- Class in
<Unnamed>
This is a simple Tic Tac Toe Applet.
TicTacToe()
- Constructor for class
TicTacToe
TicTacToe.Button
- Class in
<Unnamed>
Class that is implemented by the 9 buttons in the grid.
TicTacToe.Button()
- Constructor for class
TicTacToe.Button
TicTacToe.Reset
- Class in
<Unnamed>
Class that is implemented by the Reset button.
TicTacToe.Reset()
- Constructor for class
TicTacToe.Reset
ties
- Variable in class
TicTacToe
W
winCheck()
- Method in class
TicTacToe
Checks if a player has managed to get a 3 in a row.
winner(String)
- Method in class
TicTacToe
Checks if ch is X, O or something else
X
xScore
- Variable in class
TicTacToe
A
B
C
D
G
I
L
N
O
P
R
S
T
W
X
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes