Add chess (Oh my gosh big commit)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using JoshHeaps.Net.Models;
|
||||
|
||||
namespace JoshHeaps.Net.Services.Interfaces;
|
||||
|
||||
public interface IChessService
|
||||
{
|
||||
GameState CreateNewGame();
|
||||
List<(ChessPiece piece, List<Position> moves)> GetAllLegalMoves(GameState gameState);
|
||||
List<Position> GetLegalMovesForPiece(GameState gameState, string pieceId);
|
||||
MoveResultDto MakeMove(GameState gameState, MoveDto moveDto);
|
||||
}
|
||||
Reference in New Issue
Block a user