ricky9667 / HushKeyboard

Rubik's Cube notation keyboard for Android.
GNU General Public License v3.0
6 stars 3 forks source link

Feature Request: Support for puzzle selection #48

Open isaacvr opened 2 weeks ago

isaacvr commented 2 weeks ago

Request: In the current version (v0.4.0), there is no way to make reconstructions for other than NxN-like puzzles. It can be challenging, but some ideas that can be implemented on this awesome project are some of this:

Some ideas: In one of my projects called CubicDB, there is a lexer-parser for scrambles. The tokenizer (lexer) have some specifications for different puzzles, including those before (and the Helicopter puzzle). It can be useful to take some of the "MOVES" from there, since they are already tested with thousands of reconstuctions of all kind and they work just fine. It's just a matter of reversing a regular expression to get all the possible cases, extract the patterns and group them into the UI.

The specific file is this one. The objects that represent the movements and other tokens, are at the very top of the file.

Hope it helps!