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

Implement Chess Opening Detection & Interactive Learning Features #28

Open
4 tasks
LabinatorSolutions opened this issue Oct 22, 2024 · 3 comments
Open
4 tasks
Labels
design Design and UI related improvements or issues easy for beginners Easy for beginners feature New feature to add good first issue Good for newcomers hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed up-for-grabs Good for new contributors - https://up-for-grabs.net/

Comments

@LabinatorSolutions
Copy link
Owner

Background

Currently, the chess app lacks opening detection capabilities, limiting players' ability to learn from and explore standard chess openings during gameplay.

Proposed Features

  1. Real-time Opening Detection

    • Identify and display the current opening name based on move sequences
    • Update the opening name dynamically as moves are played
    • Show opening variations when applicable
  2. Interactive Opening Explorer

    • Allow players to click on detected opening names
    • Provide one-click import functionality to load complete opening sequences
    • Display common variations and next moves for selected openings

Technical Details

  • Base implementation can use the provided essential-chess-openings.json (216 openings)
  • Optional: Integration with more comprehensive opening database from lichess-org/chess-openings
  • Reference data attached: essential-chess-openings.json

Acceptance Criteria

  • Opening detection works in real-time during gameplay
  • Opening names are accurately displayed
  • Clicking an opening name loads its move sequence
  • UI provides clear feedback during opening detection/import

Related Links

@LabinatorSolutions LabinatorSolutions added help wanted Extra attention is needed good first issue Good for newcomers feature New feature to add design Design and UI related improvements or issues easy for beginners Easy for beginners hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ up-for-grabs Good for new contributors - https://up-for-grabs.net/ labels Oct 22, 2024
@yashwanthvarma18
Copy link

@LabinatorSolutions
please assign this task to me

@LabinatorSolutions
Copy link
Owner Author

@yashwanthvarma18

You have been assigned this task. Thank you for contributing to this free and open-source application. Please ensure that the Chess Opening Detection feature follows the same visual style as the existing windows to maintain a cohesive and professional appearance.

Specifically, you will need to add a new window to the HTML file, include an SVG icon in the CSS, and configure the JavaScript to trigger the window as a popup when the corresponding menu icon is clicked. The icon should be placed directly in the navigation menu, not within a drop-down, consistent with the other windows (e.g., History of Moves, Static Evaluation, etc.).

Please remember that LLMs (like GPT, Claude, Gemini, etc.) are not built to handle large JS files, especially those exceeding 5000 lines, such as ours. If you're using LLMs, be strategic and thoroughly test the application before making any commits—uploading the entire project will not be effective. That said, you're welcome to use LLMs or any other tool of your choice.

Thank you for joining us onboard! We always welcome developers who love open source projects!

@LabinatorSolutions
Copy link
Owner Author

@yashwanthvarma18 - You have been unassigned since we didn't get any updates or messages from your side. We need to give a chance to other contributors who would want to work on this issue.

You are always free to submit a pull request if you are still working on it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design and UI related improvements or issues easy for beginners Easy for beginners feature New feature to add good first issue Good for newcomers hacktoberfest Good for new contributors - https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed up-for-grabs Good for new contributors - https://up-for-grabs.net/
Projects
None yet
Development

No branches or pull requests

2 participants