public static bool HasNotBeenDrawn() { if (TurnValidator.HasNotDrawnYet(NumberOfTurns)) { return(true); } return(false); }
private static void CheckMoveIsValidAndUpdateGrid(Moves moveToAdd, Tuple <ushort, ushort> positionOnGrid) { if (TurnValidator.ThisMoveIsNotSameAsLastMove(_lastMove, moveToAdd) == MoveCategory.MoveIsValid && TurnValidator.CurrentMoveIsOverwrite(positionOnGrid) == MoveCategory.MoveIsValid) { GridUpdater.InsertIntoGrid(positionOnGrid, moveToAdd); _lastMove = moveToAdd; NumberOfTurns++; } }