te = 1;
copy (coord, tcoord);
}; 4: (state == 1)
{
tmoveCoord (2, "Right");
tmoveCoord (3, "Left");
tmoveCoord (0, "Right", 2);
tmoveCoord (0, "Down");
tmoveCoord (1, "Right", 2);
tmoveCoord (1, "Down"); (! checkCoord (tcoord));
remove ();
state = 2;
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (3, "Up", 2);
tmoveCoord (3, "Right");
tmoveCoord (2, "Up", 2);
tmoveCoord (2, "Right"); (! checkCoord (tcoord));
remove ();
state = 3;
copy (coord, tcoord);
} (state == 3)
{
tmoveCoord (0, "Left", 2);
tmoveCoord (0, "Up", 1);
tmoveCoord (1, "Left", 2);
tmoveCoord (1, "Up"); (! checkCoord (tcoord));
remove ();
state = 4;
copy (coord, tcoord);
} (state == 4)
{
tmoveCoord (3, "Down", 2);
tmoveCoord (2, "Down", 2);
tmoveCoord (2, "Left", 2); (! checkCoord (tcoord));
remove ();
state = 1;
copy (coord, tcoord);
}; 5: (state == 1)
{
tmoveCoord (2, "Left");
tmoveCoord (2, "Up", 2);
tmoveCoord (3, "Left");
tmoveCoord (3, "Up", 2); (! checkCoord (tcoord));
remove ();
state = 2;
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (0, "Down");
tmoveCoord (0, "Left", 2);
tmoveCoord (1, "Down");
tmoveCoord (1, "Left", 2); (! checkCoord (tcoord));
remove ();
state = 3;
copy (coord, tcoord);
} (state == 3)
{
tmoveCoord (2, "Down", 2);
tmoveCoord (3, "Right", 2);
tmoveCoord (3, "Down", 2); (! checkCoord (tcoord));
remove ();
state = 4;
copy (coord, tcoord);
} (state == 4)