Tidied up some stuff
Signed-off-by: Immanuel Alvaro Bhirawa <u7280427@anu.edu.au>
This commit is contained in:
parent
8ffd63bab3
commit
088a34010e
@ -334,7 +334,6 @@ public class BlueLagoon {
|
|||||||
|
|
||||||
// out of bound for height
|
// out of bound for height
|
||||||
if(yMoveCoords > boardHeight - 1) return false;
|
if(yMoveCoords > boardHeight - 1) return false;
|
||||||
System.out.println("-1");
|
|
||||||
|
|
||||||
// if it's even rows, check the number of cols for out of bound (i.e. the width)
|
// if it's even rows, check the number of cols for out of bound (i.e. the width)
|
||||||
if(yMoveCoords % 2 == 0) {
|
if(yMoveCoords % 2 == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user