Code Monkey home page Code Monkey logo

rubiks-cube's Introduction

Hi there ๐Ÿ‘‹

rubiks-cube's People

Contributors

mboultoureau avatar ptechofficial avatar vasu-gondaliya avatar xaerru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rubiks-cube's Issues

Responsive Website

For different screen sizes, a responsive design is needed.
Anyone with expertise in responsive CSS can help.

Bug when clicking "a" multiple times

When "a" is pressed multiple times, it starts the interval multiple times. A check needs to be added for it that if the animation is already going on or not.

Website on mobile browser (Chrome)

While testing the website on mobile I came across some issues.

  • The rotation moves of the pairs up-down, left-right and front-back are performed in a different direction despite both being under the same rotation (clockwise or anti-clockwise).
    Example of clockwise rotation:
    side rotations (1)
    side rotations (2)
    side rotations (3)

  • When rotating the cube three times towards the same direction (e.g. upwards), the rotation changes and in its place happen opposite rotations (leading to the place it would with a single rotation towards the previous direction). Right after this, if you perform a rotation of the opposite direction of the one you were performing previously, the same thing happens at the other direction. This happens with every rotation of the whole cube.
    Video of what happened:
    https://user-images.githubusercontent.com/46161935/135213332-1c0fce79-31bf-4476-aa25-f838b45fab5c.mp4

Button to display hint

I'd like to create a button that displays the hint to the solution of problem a player is working on.

Styling the Moves Buttons in Mobile View

The buttons for different moves need to be styled. The buttons can be viewed after changing the screen size to less than 1000px. Anyone with good designing experience can work on this.

Code commentary

The code lacks comments; making it hard for programmers that didn't write the code to understand it and help evolve it.

Add new buttons for the new moves

Add new buttons in mobile view for the new instructions added in the html file and javascript file for functionality. "a" key for starting animation and "Shift + a" or "A" for stopping animation.

dos'nt work on my browser(see the image๐Ÿ‘‡)

image

Browser: Firefox 88.0 (64-bit)
OS: Linux pop-os 5.11.0-7614-generic #15161862669320.04~ecb25cd-Ubuntu SMP Thu Apr 22 16:20:32 UTC x86_64 x86_64 x86_64 GNU/Linux

I also try it in a clean environment(Private window) but no change...
thank you if you consider my issue. i also like to contribute to the issue if you let me...

New Favicon

I noticed the favicon on this project contains colors that aren't normally or a Rubix cube so I decided to make a new one with only valid colors

Styling Instructions Table

The instructions table of the possible moves needs to be styled. Anyone with good designing experience can work on this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.