You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just played a game in easy mode and the program crashed with the following log:
thread 'main' panicked at 'Invalid move by bot: Move not found as possibility', src/scene/game_scene.rs:572:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Bot thread is terminating
Bot thread should terminate
I guess that the bot is trying to make an invalid move, or that the code which detects whether a move is valid has a bug. Unfortunately I did not keep track of all the moves. Here is a screenshot of the state in which it crashed (black plays).
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'm a real noob in chess to be honest. So it's really nice to have some testing regarding this.
I have now removed most limitations on what a bot can do. The user usually can't to moves that result in him getting checkmated or other stupid stuff (aka only the possible moves when clicking a chess piece).
My guess is that your bot tried to do that. While not illegal it is stupid, but I trust the bot to do valid moves (as long as it doesn't screw up the entire board state).
I just played a game in easy mode and the program crashed with the following log:
I guess that the bot is trying to make an invalid move, or that the code which detects whether a move is valid has a bug. Unfortunately I did not keep track of all the moves. Here is a screenshot of the state in which it crashed (black plays).
The text was updated successfully, but these errors were encountered: