Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to give the best moves to the opponent from the stock fish #219

Open
kethan637 opened this issue Dec 12, 2023 · 3 comments
Open

How to give the best moves to the opponent from the stock fish #219

kethan637 opened this issue Dec 12, 2023 · 3 comments

Comments

@kethan637
Copy link

How too give the best moves for either of black or white , if we choose the black means we are black as Human , white will be opponent ,white has to move according to the best moves , best moves we are giving by the stockfish , and also one more question - How to select the play as white or black ininitally , currently it is taking the white as first move , how to changes , need a urgent solution please

@kethan637
Copy link
Author

@grzegorz103

1 similar comment
@kethan637
Copy link
Author

@grzegorz103

@grzegorz103
Copy link
Owner

hello. sorry for late answer but ive been abroad
for the first question i think you can try to pass manual moves by move(coords: string) function

i'm not sure what you mean with the second question, because always white player starts. you can try to use the free mode with [freeMode] and then you can make move with black as first one

let me know if it helped you and sorry again for late answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants