public interface SudokuConstants
Modifier and Type | Field and Description |
---|---|
static boolean |
ACCESSIBILITY
Provides a black and white contrast if
true |
static int |
DIFFICULTY
The difficulty of the game showing the number of preset digits.
|
static java.lang.String |
FONT_FACE
The font face of the game's numbers
|
static int |
FONT_SCALE
The game's font-size is calculated and adjusted by dividing
SudokuGUI.faktor by this constant. |
static int |
FONT_WEIGHT
The number's font weight.
|
static int |
GUI_SIZE
Border length of the game's window
|
static int |
MISTAKE_DELAY
Milliseconds the
mistake hint is shown |
static boolean |
MISTAKE_HINT
Shows a mistake hint if
true . |
static boolean |
PLAY_SUCCESS_SOUND
Play an applause sound if
true when the game is finished
successfully. |
static boolean |
PLAY_VOICE_OUTPUT
Play a sound calling the entered number if
true . |
static javax.swing.plaf.FontUIResource |
TOOLTIP_FONT
The tooltip font
|
static final boolean ACCESSIBILITY
true
static final boolean MISTAKE_HINT
true
. When a mistake is made by the
gamer, the row, column and square where the mistake occures are colored
for a time defined by MISTAKE_DELAY
..static final boolean PLAY_SUCCESS_SOUND
true
when the game is finished
successfully.static final boolean PLAY_VOICE_OUTPUT
true
.static final int DIFFICULTY
static final int MISTAKE_DELAY
mistake hint
is shownstatic final int GUI_SIZE
static final int FONT_WEIGHT
Font.PLAIN
Font.BOLD
.static final int FONT_SCALE
SudokuGUI.faktor
by this constant. Must be
greater than 0.static final java.lang.String FONT_FACE
static final javax.swing.plaf.FontUIResource TOOLTIP_FONT