-
board
ElevensBoard board
The board.
-
cardCoords
Point[] cardCoords
The coordinates of the card displays.
-
displayCards
JLabel[] displayCards
The card displays.
-
lossMsg
JLabel lossMsg
The loss message.
-
panel
JPanel panel
The main panel containing the game components.
-
replaceButton
JButton replaceButton
The Replace button.
-
restartButton
JButton restartButton
The Restart button.
-
selections
boolean[] selections
kth element is true iff the user has selected card #k.
-
statusMsg
JLabel statusMsg
The "number of undealt cards remain" message.
-
totalGames
int totalGames
The number of games played.
-
totalsMsg
JLabel totalsMsg
The "you've won n out of m games" message.
-
totalWins
int totalWins
The number of games won.
-
winMsg
JLabel winMsg
The win message.