Closed androur closed 9 months ago
Now when I tried more, it seams that whatever I do, it gives the same error
Give us the errors so we can help!
Exception has occurred: CLR/System.NullReferenceException An unhandled exception of type 'System.NullReferenceException' occurred in System.Private.CoreLib.dll: 'Object reference not set to an instance of an object.' at ChessChallenge.Chess.Board.MovePiece(Int32 piece, Int32 startSquare, Int32 targetSquare) in c:\Users\Win10.ANDRIJA\chess chalenge\Chess-Challenge-main\Chess-Challenge\src\Framework\Chess\Board\Board.cs:line 113
Nvm, Its because I didn't place board.UndoMove() after board.MakeMove().
when I open my bot and click human vs bot, it gives me syntax error in board.cs on line 113.