stify">}; 6:// ліва (state == 1)
{
tmoveCoord (2, "Up");
tmoveCoord (3, "Right", 2);
tmoveCoord (3, "Up"); (! checkCoord (tcoord));
remove ();
state = 2;
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (2, "Down");
tmoveCoord (3, "Left", 2);
tmoveCoord (3, "Down"); (! checkCoord (tcoord));
remove ();
state = 1;
copy (coord, tcoord);
}; 7:// права (state == 1)
{(0, "Right");
tmoveCoord (3, "Right");
tmoveCoord (3, "Up", 2); (! checkCoord (tcoord));
remove ();
state = 2;
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (0, "Left");
tmoveCoord (3, "Left");
tmoveCoord (3, "Down", 2); (! checkCoord (tcoord));
remove ();
state = 1;
copy (coord, tcoord);
}; 3:// _ | _ (state == 1)
{
tmoveCoord (1, "Right");
tmoveCoord (1, "Up");
tmoveCoord (2, "Right", 2);
tmoveCoord (2, "Up", 2); (! checkCoord (tcoord));
remove ();
state = 2;
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (1, "Up");
tmoveCoord (1, "Left");
tmoveCoord (3, "Left", 2);
tmoveCoord (3, "Up", 2); (! checkCoord (tcoord));
remove ();
state = 3;
copy (coord, tcoord);
} (state == 3)
{
tmoveCoord (1, "Left");
tmoveCoord (1, "Down");
tmoveCoord (2, "Down", 2);
tmoveCoord (2, "Left", 2); (! checkCoord (tcoord));
remove ();
state = 4;
copy (coord, tcoord);
} (state == 4)
{
tmoveCoord (1, "Down");
tmoveCoord (1, "Right");
tmoveCoord (3, "Down", 2);
tmoveCoord (3, "Right", 2); (! checkCoord (tcoord));
remove ();
sta...