0); x = 0; y = 0; x1 = 0; y1 = 0; f = false; (int i = 0; i <4; i + +)
{
x = coord [i, 0];
y = coord [i, 1]; (MainWindow.table [x - 1, y] == true)
{(int j = 0; j <4; j + +)
{
x1 = coord [j, 0];
y1 = coord [j, 1]; (x - 1 == x1 && y == y1)
{
f = true;;
}
} (! f) return;
f = false;
}
} ();
coord [0, 0] -;
coord [1, 0] -;
coord [2, 0] -;
coord [3, 0] -;
toTable ();. Inv ();
} right ()
{(coord [0, 0] == 9 | | coord [1, 0] == 9 | | coord [2, 0] == 9 | | coord [3, 0] = = 9); x = 0; y = 0; x1 = 0; y1 = 0; f = false; (int i = 0; i <4; i + +)
{
x = coord [i, 0];
y = coord [i, 1]; (MainWindow.table [x + 1, y] == true)
{(int j = 0; j <4; j + +)
{
x1 = coord [j, 0];
y1 = coord [j, 1]; (x + 1 == x1 && y == y1)
{
f = true;;
}
} (! f) return;
f = false;
}
} ();
coord [0, 0] + +;
coord [1, 0] + +;
coord [2, 0] + +;
coord [3, 0] + +;
toTable ();. Inv ();
} down ()
{(coord [0, 1] == 18 | | coord [1, 1] == 18 | | coord [2, 1] == 18 | | coord [3, 1] = = 18); x = 0; y = 0; x1 = 0; y1 = 0; f = false; (int i = 0; i <4; i + +)
{
x = coord [i, 0];
y = coord [i, 1]; (MainWindow.table [x, y + 1] == true)
{(int j = 0; j <4; j + +)
{
x1 = coord [j, 0];
y1 = coord [j, 1]; (x == x1 && y + 1 == y1)
{
f = true;;
}
} (! f);
f = false;
}
} ();
coord [0, 1] + +;
coord [1, 1] + +;
coord [2, 1] + +;
coord [3, 1] + +;
toTable ();. Inv ();;
} x (int index) {return coord [index, 0];} y (int index) {return coord [index, 1];} setX (int index, int x) {coord [ index, 0] = x;} setY (int index, ...