GameState

sealed class GameState

Represents the various states of the Sudoku game.

Inheritors

Types

Link copied to clipboard
data object Active : GameState

State indicating that the game is currently active and in progress.

Link copied to clipboard
data class Completed(val isWon: Boolean) : GameState

State indicating that the game has been completed.

Link copied to clipboard
data object Loading : GameState

State indicating that the game is in the process of loading.

Link copied to clipboard
data object NotStarted : GameState

State indicating that the game has not started yet.

Link copied to clipboard
data object Paused : GameState

State indicating that the game is paused.