diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-03-07 11:22:31 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-03-07 11:22:31 +0100 |
| commit | 934b00f7291f4c7c44fc5c713819b04862974603 (patch) | |
| tree | c06285f6343d12466235554e490c1fa9c5acd5c2 | |
| parent | 16f2c013278cec056b7a164e9c0e491c32912d90 (diff) | |
Add default FEN
| -rw-r--r-- | src/ChessArbiter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
