private static IsValidCommand ( string playerMove ) : bool | ||
playerMove | string | The player move as string. |
return | bool |
private static bool IsValidCommand(string playerMove)
{
return ValidationRegex.Match(playerMove).Length > 0;
}