Companion

object Companion

Companion object containing constants related to the state, display, and statistics of this 8-puzzle app.

Properties

BLANK_TILE_MARKER
Link copied to clipboard
private const val BLANK_TILE_MARKER: Int
Indicator that the tile is blank.
BORDER_OFFSET
Link copied to clipboard
private const val BORDER_OFFSET: Int = 6
Thickness of the tile border (in pixels).
DEFAULT_FASTEST_TIME
Link copied to clipboard
private const val DEFAULT_FASTEST_TIME: Long
Default value for the fastest time, that is, its initial value before the user starts playing their first game.
DEFAULT_FEWEST_MOVES
Link copied to clipboard
private const val DEFAULT_FEWEST_MOVES: Long
Default value for the fewest number of moves, that is, its initial value before the user starts playing their first game.
NUM_COLUMNS
Link copied to clipboard
private const val NUM_COLUMNS: Int = 3
Number of columns in the 8-puzzle grid.
NUM_TILES
Link copied to clipboard
private const val NUM_TILES: Int
Number of tiles in the 8-puzzle grid.