n="justify"> {
tmoveCoord (2, "Right");
tmoveCoord (3, "Left");
tmoveCoord (1, "Up");
tmoveCoord (1, "Right", 2);
tmoveCoord (0, "Up");
tmoveCoord (0, "Right", 2); (! checkCoord (tcoord));
remove ();
state = 1;
copy (coord, tcoord);
};
} ();. Inv ();
} rotate_right ()
{(lastShape == 1);
copy (tcoord, coord);
(lastShape)
{2:
rotate_left ();; 6:
rotate_left ();; 7:
rotate_left ();; 3:// _ | _ (state == 1)
{
tmoveCoord (1, "Left");
tmoveCoord (1, "Up");
tmoveCoord (3, "Left", 2);
tmoveCoord (3, "Up", 2); (! checkCoord (tcoord));
state = 4;
remove ();
copy (coord, tcoord);
} (state == 4)
{(1, "Up");
tmoveCoord (1, "Right");
tmoveCoord (2, "Right", 2);
tmoveCoord (2, "Up", 2); (! checkCoord (tcoord));
state = 3;
remove ();
copy (coord, tcoord);
} (state == 3)
{
tmoveCoord (1, "Right");
tmoveCoord (1, "Down");
tmoveCoord (3, "Down", 2);
tmoveCoord (3, "Right", 2); (! checkCoord (tcoord));
state = 2;
remove ();
copy (coord, tcoord);
} (state == 2)
{
tmoveCoord (1, "Down");
tmoveCoord (1, "Left");
tmoveCoord (2, "Down", 2);
tmoveCoord (2, "Left", 2); (! checkCoord (tcoord));
state = 1;
remove ();
copy (coord, tcoord);
}; 4: (state == 1)
{
tmoveCoord (3, "Up", 2);
tmoveCoord (2, "Right", 2);
tmoveCoord (2, "Up", 2); (! checkCoord (tcoord));
state = 4;
remove ();
copy (coord, tcoord);
} (state == 4)
{
tmoveCoord (0, "Down");
tmoveCoord (1, "Down");
...