private bool MakeNonJump() { int direction = 1; if (_checkerColor == _constants.BlackChecker) { direction = -1; } bool moved = false; foreach (Point checker in _board.GetAllCheckers(_checkerColor)) { if (moved) { break; } var columnDirections = new[] { 1, -1 }; for (int columnDirection = 0; columnDirection < columnDirections.Length; columnDirection++) { if (moved) { break; } if (_board.IsFreeSpace(checker.X + direction, checker.Y + columnDirections[columnDirection])) { if ((checker.X + direction > -1 && checker.X + direction < _constants.SquaresInBoard) && (checker.Y + columnDirections[columnDirection] < _constants.SquaresInBoard)) { moved = _board.MoveChecker(checker.X, checker.Y, checker.X + direction, checker.Y + columnDirections[columnDirection]); } } } } GameManager.TheGameManager.Draw(); Thread.Sleep(500); return(moved); }