
Games::Sudoku::Component::Controller::Status

use Games::Sudoku::Component::Controller;
my $c = Games::Sudoku::Component::Controller->new;
until($c->status->is_finished) {
$c->next;
}

This module is to hold a status of Games::Sudoku::Component::Controller.

Creates an object. Options are:
Specifies how many times the controller can rewind/retry. See Games::Sudoku::Component::Controller.
Returns true if the controller has no special status.
Returns true if the controller has some cells to do with next.
Returns true if the controller has failed to solve a puzzle and is rewinding.
Returns true if the controller has solved a puzzle.
Returns true if the controller has finally given up to solve a puzzle.
Returns true if the controller has solved a puzzle or given up to solve.
Returns true if the status has just changed. Once checked, this flag will be turn off.
Changes the status to something, respectively.
Returns true if the controller is still able to rewind. If the internal counter grows larger than rewind_max, this returns false.
Returns true if the controller is still able to retry. If the internal counter grows larger than retry_max, this returns false.
Clears the status.


Kenichi Ishigaki, <ishigaki@cpan.org>

Copyright (C) 2006 by Kenichi Ishigaki
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.