public override string ToString() { return(File.ToString().ToLower() + Rank.ToString().Replace("_", "")); }
public string GetCoordinates() { string coordinate = File.ToString() + Rank.ToString(); return(coordinate); }
public static Square MakeSquare(Rank r, File f) { return((~r << 3) + f); }
public override string ToString() { return(Ok ? File.ToString() + Rank.ToString() : "(no square)"); }
public static Square MakeSquare(File f, Rank r) { return((r << 3) + f); }