1. Shlomi Fish
  2. LM-Solve Source

Commits

shl...@6a489e09-e8c2-0310-a3fb-a128a961c0b2  committed 10106fc

Changed unsolveable to unsolvable - a typo.

  • Participants
  • Parent commits 35ffdf1
  • Branches default

Comments (0)

Files changed (8)

File lib/Games/LMSolve/Alice.pm

View file
 
 # This function checks if a state it receives as an argument is a
 # dead-end one.
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     my $self = shift;
     my $coords = shift;

File lib/Games/LMSolve/Base.pm

View file
 
 # This function checks if a state it receives as an argument is a
 # dead-end one.
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     return &die_on_abstract_function();
 }
             # print ((" " x $depth) . join(",", @$coords) . " M=" . $self->render_move($state_collection->{$state}->{'m'}) ."\n");
         }
         
-        if ($self->check_if_unsolveable($coords))
+        if ($self->check_if_unsolvable($coords))
         {
             next;
         }

File lib/Games/LMSolve/Minotaur.pm

View file
 
 # This function checks if a state it receives as an argument is a
 # dead-end one.
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     my $self = shift;
     my $coords = shift;

File lib/Games/LMSolve/Numbers.pm

View file
 
 # This function checks if a state it receives as an argument is a
 # dead-end one.
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     # One can always proceed from here.
     return 0;

File lib/Games/LMSolve/Plank/Base.pm

View file
     return join(" ; ", @strings);
 }
 
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     return 0;
 }

File lib/Games/LMSolve/Tilt/Multi.pm

View file
     return "($x,$y) Goals Collected=[" . join(",", (grep { $reached_goals &= (1 << $_) } (1 .. ($self->{'num_goals'})))) . "]";
 }
 
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     my $self = shift;
     my $coords = shift;

File lib/Games/LMSolve/Tilt/RedBlue.pm

View file
     return ("Red=($rx,$ry) ; Blue=($bx,$by)");
 }
 
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     my $self = shift;
     my $coords = shift;

File lib/Games/LMSolve/Tilt/Single.pm

View file
     return sprintf("($x,$y)");
 }
 
-sub check_if_unsolveable
+sub check_if_unsolvable
 {
     my $self = shift;
     my $coords = shift;