This commit is contained in:
2021-12-29 22:11:49 -06:00
parent 9ec91615a3
commit 499e480851
4 changed files with 57 additions and 52 deletions

View File

@@ -51,7 +51,7 @@ namespace Shogi.Domain
var fromPiece = board[from];
if (fromPiece == null)
{
return new MoveResult(false, $"Tile [{from}] is empty. There is no piece to move.");
return new MoveResult(false, $"Tile [{fromNotation}] is empty. There is no piece to move.");
}
if (fromPiece.Owner != board.WhoseTurn)