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

Ability to Change Rating #24

Open
FeXd opened this issue Feb 6, 2024 · 0 comments
Open

Ability to Change Rating #24

FeXd opened this issue Feb 6, 2024 · 0 comments

Comments

@FeXd
Copy link
Owner

FeXd commented Feb 6, 2024

Some users may want to jump up or down to a specific rating, so let's allow them to!

FeXd added a commit that referenced this issue Feb 10, 2024
Promotion has been fixed by:
- changing to using **js-chess-engine** [Option 1 with-in
memory](https://github.com/josefjadrny/js-chess-engine?tab=readme-ov-file#option-1---with-in-memory)
- rather than creating a menu to pick which piece, just promote to what
the puzzle wants
- this make it easier, but also will make theme-ing things later easier

URL parameters:
- you can now specify `puzzle` and `rating` via URL parameters
- examples: https://puzzlechess.ca?puzzle=0nSDR,
https://puzzlechess.ca?rating=1000,
https://puzzlechess.ca?puzzle=0nSDR&rating=1000
- if valid puzzle isn't found it will  load random
- if rating is not a number it will default to previous

Progress on #24 in that users can change rating via parameters, but I
would still like them to be able to do so using an actual interface
menu.

Closes #26 
Closes #25
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

1 participant