Skip to content

Conversation

@vlaxcs
Copy link

@vlaxcs vlaxcs commented Mar 23, 2025

Keyboard shortcuts for moves enhancement

Do not merge in this state.

This is not the final version, so i just need a review and some guiding from here.

Description

Any gameboard cell could be selected now using key-combos (A8 or 8A will work).
Initially, the cursor will be set on the column corresponding to the given letter / on the row corresponding to the given digit, no matter the order of presses.

Currently, i implemented it only for white view.

As we know, we have columns marked from A to H, but the C/c cases are closing the app.
So, cell movements requires lower letters (a to h), and close-app feature will work only with Ctrl+C (uppercase).

Fixes # (33) Keyboard shortcuts for moves enhancement

How Has This Been Tested?

I tried to select every cell on gameboard (with select/unselected pieces).

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • [not yet] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • [_] I have added tests that prove my fix is effective or that my feature works
  • [not yet] New and existing unit tests pass locally with my changes
  • [_] Any dependent changes have been merged and published in downstream modules

@thomas-mauran thomas-mauran added the enhancement New feature or request label Mar 23, 2025
@thomas-mauran
Copy link
Owner

Was this done @vlaxcs ?

@thomas-mauran thomas-mauran force-pushed the main branch 10 times, most recently from cf5db72 to c75428c Compare December 16, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants