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

Right click arrows #6

Open
nelson137 opened this issue Feb 14, 2023 · 0 comments
Open

Right click arrows #6

nelson137 opened this issue Feb 14, 2023 · 0 comments
Labels
D-hard Difficulty: hard E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.)

Comments

@nelson137
Copy link
Owner

nelson137 commented Feb 14, 2023

Right-clicking and dragging from one tile to another creates arbitrary arrows. Left-clicking clears all arrows.

The arrows can be:

  • Straight (up/down or left/right)
  • Diagonal (bishop-like or arbitrary)
  • L-shaped like a knight move

Implementation

Chess.com has one SVG that covers the whole board and dynamically inserts the arrows.

Inspiration

Screen Shot 2023-02-14 at 1 07 15 AM

@nelson137 nelson137 added E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) labels Feb 14, 2023
@nelson137 nelson137 added this to the Chess.com parity milestone Feb 14, 2023
@nelson137 nelson137 added this to Gambit Feb 14, 2023
@nelson137 nelson137 moved this to Todo in Gambit Feb 14, 2023
@nelson137 nelson137 added D-hard Difficulty: hard and removed F-board-annotations labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-hard Difficulty: hard E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.)
Projects
Status: Todo
Development

No branches or pull requests

1 participant