This commit is contained in:
abdelaziz
2026-03-30 07:49:37 +02:00
parent 9440351bc0
commit bc4118704e
21 changed files with 1785 additions and 124 deletions
+20
View File
@@ -0,0 +1,20 @@
namespace CheckersSpielBot
{
public class Move
{
public int DestinationRow { get; }
public int DestinationCol { get; }
public int CapturedPieceRow { get; }
public int CapturedPieceCol { get; }
public bool IsCapture => CapturedPieceRow >= 0;
public Move(int destinationRow, int destinationCol,
int capturedPieceRow, int capturedPieceCol)
{
DestinationRow = destinationRow;
DestinationCol = destinationCol;
CapturedPieceRow = capturedPieceRow;
CapturedPieceCol = capturedPieceCol;
}
}
}