giiker | JavaScript wrapper for GiiKER smart cube Bluetooth API | Runtime Evironment library
kandi X-RAY | giiker Summary
kandi X-RAY | giiker Summary
JavaScript wrapper for GiiKER smart cube Bluetooth API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of giiker
giiker Key Features
giiker Examples and Code Snippets
Community Discussions
Trending Discussions on giiker
QUESTION
I am making my own android application that can help solve rubiks cube. I bought Xiaomi's Giiker Cube and have looked into the Herbert Kociemba's Two phase Algorithm.
So the problem starts here. For Giiker Cube I looked into below api. But this api gives the state of the cube which is 20 bytes of data. https://github.com/Vexu/SuperCube-API
I also looked into below React library of the same and its dependent libraries from here to look into conversion of that state to cube faces and moves. But that library's decode logic is not working for me.
Also I am not using react native. https://www.npmjs.com/package/react-native-giiker
I need help in translation of cube state of 20 bytes to cube faces for Herbert Kociemba's algo and moves
...ANSWER
Answered 2020-Jun-29 at 17:22I have the new Giiker cube i3s which have encrypted state. This was not the case with Giiker cube i3.
The logic to decode the encrypted state can be found here.
https://github.com/kabelbinder/giiker/blob/50db5d58e0417749fe5815e72856b90a1afa43b1/index.js#L326
Below is the logic for decryption and parsing as well.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install giiker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page