David Kopec
David Kopec
Hi lee, Who's turn it is, is determined by the FEN that you originally pass into chess.js. You should modify the FEN if you want it to be the other...
Can you tell us more about the use case? Right now there is the method undo() which goes back a move. It also returns the move that it just went...
Oh yeah I understand that. I'm asking what use cases you're using it for that aren't covered by undo() or just navigating through the history.
Probably; we return float because we want consistency with Euclidean distance, and so that the type hints match with the heuristic parameter of `astar()`. The alternative is a `float()` conversion...
Yeah, I went through the same thing when writing this last year and I decided to leave it the way it is even though mypy complained. Here's my thinking—we know...
Hi @faif, You are correct, I am seeing this just now running the Playground in the latest version of Xcode/Swift (11.1, 5.1). I have not seen this before on the...
Yup, but the book was written before Swift 4.2, and we don't want the code here to get out of sync with the print edition.
As the project stands right now, you can't. I'm open to suggestions/pull requests though as long as it stays within the same spirit.
You can use the pull request by @dredenba or one of the forks of the project that adds Black & White. I'm not sure about adding this to the main-line...
Thanks for the contribution, I really do appreciate it, but unfortunately I can't accept this pull request for a few reasons: - It crashed for me when testing with EXEC_BAD_ACCESS...