@ -91,7 +91,7 @@ impl GridPosition {
let x = self.x as isize + other_x;
let y = self.y as isize + other_y;
if x > X_MAX as isize {
if x >= X_MAX as isize {
Err(GameError::OutOfBoundsLeft)
} else if x < 0 {
Err(GameError::OutOfBoundsRight)