Dev-tanay / Rubik-Cube

Rubik Cube
https://dev-tanay.github.io/Rubik-Cube/
MIT License
97 stars 164 forks source link

Add Control Functions with Keyboard Keys #152

Open priyaladesara opened 3 months ago

priyaladesara commented 3 months ago

Feature Request : Implement control functions using keyboard keys to enhance the interactivity of the web-based Rubik's cube game.

Problem: The current implementation lacks keyboard controls for rotating the Rubik's cube, limiting user interaction. Adding this feature will provide a more intuitive and user-friendly experience.

Proposed solution:

  1. Capture Keyboard Events: Use JavaScript to detect key presses.
  2. Define Actions: Determine actions for each key press (e.g., rotate up, down, left, right).
  3. Implement Functions: Write functions to execute the defined actions.
  4. Bind to Events: Associate functions with key presses using event listeners.
  5. Error Handling: Handle unexpected key presses gracefully.
priyaladesara commented 3 months ago

@Dev-tanay I can work on this to enhance the interaction. Please assign me this issue under GSSoc24.

KomalSrivastava commented 3 months ago

Subject: Feature Request: Implement Keyboard Controls for Rubik's Cube Game

Dear @Dev-tanay ,

Feature Request: Implement keyboard controls to enhance interactivity in our web-based Rubik's cube game.

Problem: The game currently lacks keyboard controls for rotating the Rubik's cube, limiting user interaction.

Proposed Solution:

  1. Use JavaScript to detect key presses.
  2. Map each key press to specific cube rotations.
  3. Write functions to handle these rotations.
  4. Use event listeners to connect key presses to the functions. 5.Gracefully manage unexpected key presses. Additional Enhancements:

Visual feedback for active rotations. Customizable key bindings. Accessibility features like keyboard shortcuts. I am enthusiastic about working on this project to improve user experience. Could you please assign it to me?

Vaibhavs1612 commented 3 months ago

I would like to work on this issue as a contributor to the GSSOC. please assign this to me! I have relevant skills that definitely help to enhance the website.

vanshika-aggarwal1 commented 3 months ago

@Dev-tanay I would like to contribute on this issue. Please consider assigning it to me under GSSOC 2024.