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
{{ message }}
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
* Update package-lock.json
* Document browser output
* Delete package-lock.json
Lockfile not needed
* Type cleanup
* Document `makeMove` param 3 `completeMove?`
* Minor cleanup
* Return undefined colour when cell is empty
Empty cells were being classified as black, leading to incorrect movement.
Fixes#15
* Restore package-lock.json
* Fix unchecked types
* Use nonnull assertion instead
Already checked for existence in the line above
* Improve board typing
* Add fen type
* Fix move list checking
* Version 0.4.3
Pawns are the only white pieces that can move:
findAllMoves('F1') = []
Also black piece movement validation is entirely incorrect.
The text was updated successfully, but these errors were encountered: