This commit is contained in:
2024-09-26 21:11:47 -05:00
parent 6b5bb96de7
commit 81dd267290
16 changed files with 636 additions and 339 deletions

View File

@@ -7,14 +7,14 @@ namespace Shogi.Domain.ValueObjects
{
internal static readonly ReadOnlyCollection<Path> KingPaths = new(new List<Path>(8)
{
new Path(Direction.Up),
new Path(Direction.Forward),
new Path(Direction.Left),
new Path(Direction.Right),
new Path(Direction.Down),
new Path(Direction.UpLeft),
new Path(Direction.UpRight),
new Path(Direction.DownLeft),
new Path(Direction.DownRight)
new Path(Direction.Backward),
new Path(Direction.ForwardLeft),
new Path(Direction.ForwardRight),
new Path(Direction.BackwardLeft),
new Path(Direction.BackwardRight)
});
public King(WhichPlayer owner, bool isPromoted = false)