From 934b00f7291f4c7c44fc5c713819b04862974603 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 7 Mar 2022 11:22:31 +0100 Subject: [PATCH] Add default FEN --- src/ChessArbiter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChessArbiter.cpp b/src/ChessArbiter.cpp index 9351ab9..537c1a7 100644 --- a/src/ChessArbiter.cpp +++ b/src/ChessArbiter.cpp @@ -3,7 +3,9 @@ namespace chessarbiter { ChessArbiter::ChessArbiter() : wPawn(1), wRook(5), wKnight(3), wBishop(3), wQueen(9), wKing(0), SAN(""), - capture(' ') {} + capture(' ') { + Setup("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"); +} void ChessArbiter::Setup(std::string fen) { positions.clear();