Skip to content

Commit 8657f61

Browse files
committed
uci command not anymore needed at the beginning
1 parent 9900b65 commit 8657f61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Interface/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ static void Main( string[] args )
99
{
1010
ChessEngine engine = new();
1111
CommandProcessor generalProcessor = new GeneralCommandProcessor(engine);
12-
CommandProcessor? interfaceProcessor = null;
12+
13+
// set uci as the default command processor (it is also, for now, the only protocol we have)
14+
CommandProcessor? interfaceProcessor = new UciCommandProcessor( engine );
1315
#if DEBUG
1416
Console.WriteLine("DEBUG MODE");
1517
#endif

0 commit comments

Comments
 (0)