PieceProgress

Derives ordered piece states from the pieces attempted and cleared.

Functions

Link copied to clipboard
fun states(total: Int, tried: Set<Int>, cleared: Set<Int>): List<PieceProgressState>

Returns one state for each piece index in 0 until total.