@@ -196,7 +196,7 @@ class Coloring extends BasicColoring {
196196 /// Color with a square shape from the current position.
197197 ///
198198 /// Requires a list of [colors] .
199- bool squareBottomLeft (List <int > colors, [int ? n]) {
199+ bool squareRightUpLeft (List <int > colors, [int ? n]) {
200200 final int originalRow = move.row;
201201 final int originalColumn = move.column;
202202 if (move.right () && move.up () && move.left ()) {
@@ -219,7 +219,7 @@ class Coloring extends BasicColoring {
219219 /// Color with a square shape from the current position.
220220 ///
221221 /// Requires a list of [colors] .
222- bool squareBottomLeftReverse (List <int > colors, [int ? n]) {
222+ bool squareUpRightDown (List <int > colors, [int ? n]) {
223223 final int originalRow = move.row;
224224 final int originalColumn = move.column;
225225 if (move.up () && move.right () && move.down ()) {
@@ -242,7 +242,7 @@ class Coloring extends BasicColoring {
242242 /// Color with a square shape from the current position.
243243 ///
244244 /// Requires a list of [colors] .
245- bool squareBottomRight (List <int > colors, [int ? n]) {
245+ bool squareUpLeftDown (List <int > colors, [int ? n]) {
246246 final int originalRow = move.row;
247247 final int originalColumn = move.column;
248248 if (move.up () && move.left () && move.down ()) {
@@ -265,7 +265,7 @@ class Coloring extends BasicColoring {
265265 /// Color with a square shape from the current position.
266266 ///
267267 /// Requires a list of [colors] .
268- bool squareBottomRightReverse (List <int > colors, [int ? n]) {
268+ bool squareLeftUpRight (List <int > colors, [int ? n]) {
269269 final int originalRow = move.row;
270270 final int originalColumn = move.column;
271271 if (move.left () && move.up () && move.right ()) {
@@ -288,7 +288,7 @@ class Coloring extends BasicColoring {
288288 /// Color with a square shape from the current position.
289289 ///
290290 /// Requires a list of [colors] .
291- bool squareTopLeft (List <int > colors, [int ? n]) {
291+ bool squareDownRightUp (List <int > colors, [int ? n]) {
292292 final int originalRow = move.row;
293293 final int originalColumn = move.column;
294294 if (move.down () && move.right () && move.up ()) {
@@ -311,7 +311,7 @@ class Coloring extends BasicColoring {
311311 /// Color with a square shape from the current position.
312312 ///
313313 /// Requires a list of [colors] .
314- bool squareTopLeftReverse (List <int > colors, [int ? n]) {
314+ bool squareRightDownLeft (List <int > colors, [int ? n]) {
315315 final int originalRow = move.row;
316316 final int originalColumn = move.column;
317317 if (move.right () && move.down () && move.left ()) {
@@ -334,7 +334,7 @@ class Coloring extends BasicColoring {
334334 /// Color with a square shape from the current position.
335335 ///
336336 /// Requires a list of [colors] .
337- bool squareTopRight (List <int > colors, [int ? n]) {
337+ bool squareLeftDownRight (List <int > colors, [int ? n]) {
338338 final int originalRow = move.row;
339339 final int originalColumn = move.column;
340340 if (move.left () && move.down () && move.right ()) {
@@ -357,7 +357,7 @@ class Coloring extends BasicColoring {
357357 /// Color with a square shape from the current position.
358358 ///
359359 /// Requires a list of [colors] .
360- bool squareTopRightReverse (List <int > colors, [int ? n]) {
360+ bool squareDownLeftUp (List <int > colors, [int ? n]) {
361361 final int originalRow = move.row;
362362 final int originalColumn = move.column;
363363 if (move.down () && move.left () && move.up ()) {
@@ -713,9 +713,10 @@ class Coloring extends BasicColoring {
713713 /// Returns:
714714 /// A boolean value.
715715 bool mirrorHorizontal () {
716- if (move.row <= 2 ) {
717- return mirrorHorizontalUpDown ();
718- }
716+ // if (move.row <= 2) {
717+ // return mirrorHorizontalUpDown();
718+ // }
719+ mirrorHorizontalUpDown ();
719720
720721 return mirrorHorizontalDownUp ();
721722 }
@@ -727,9 +728,10 @@ class Coloring extends BasicColoring {
727728 /// Returns:
728729 /// A boolean value.
729730 bool mirrorVertical () {
730- if (move.column <= 2 ) {
731- return mirrorVerticalLeftRight ();
732- }
731+ // if (move.column <= 2) {
732+ // return
733+ // }
734+ mirrorVerticalLeftRight ();
733735
734736 return mirrorVerticalRightLeft ();
735737 }
0 commit comments