Solve Status
Enumeration class containing the possible game statuses depending on whether user solves the puzzle or opts to play the solution walkthrough instead.
Parameters
successMessageId
ID of the string corresponding to the success message displayed.
Constructors
SolveStatus
Link copied to clipboard
Creates an enumeration class containing the possible game statuses after the user solves the puzzle.
Entries
USER_SOLVED
Link copied to clipboard
USER_SOLVED(R.string.user_solved)
Content copied to clipboard
The user solved the puzzle but did not register a new record for the fewest number of moves or the fastest time.
FEWEST_MOVES
Link copied to clipboard
FEWEST_MOVES(R.string.fewest_score)
Content copied to clipboard
The user registered a new record for the fewest number of moves.
FASTEST_TIME
Link copied to clipboard
FASTEST_TIME(R.string.fastest_score)
Content copied to clipboard
The user registered a new record for the fastest time.
FEWEST_AND_FASTEST
Link copied to clipboard
FEWEST_AND_FASTEST(R.string.high_score)
Content copied to clipboard
The user registered a new record for both the fewest number of moves and the fastest time.
COMPUTER_SOLVED
Link copied to clipboard
COMPUTER_SOLVED(R.string.computer_solved)
Content copied to clipboard
The user opted to display the solution returned by the app (via A*).
Properties
successMessageId
Link copied to clipboard