Git Product home page Git Product logo

roux-trainers's People

Contributors

ericx20 avatar onionhoney 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

roux-trainers's Issues

Do you want patches for typescript issues?

I am using your lib directory in another project to build myself a trainer for use with bluetooth cubes.

I encountered a lot of mechanical fixes, like:

  1. files needlessly named tsx that are really plain typescript
  2. unused variables and imports
  3. variables that could be const

etc.

This code doesn't seem to be changing very much, but I will need to modify Analyzer.ts since it doesn't really do the right thing for breaking a roux solve into its phases. Are you interested in me sending you pull requests / do you want these fixups?

Wrong EOLR solutions

When doing EOLR I encountered a case for which the solutions look wrong. I cannot tell if I am executing the moves incorrectly or they are actually wrong. Might be an indication of a deeper issue.

image

Tracking trainer

Can you give some instructions on how to use the tracking trainer? It seems very useful, but I couldn't quite understand how to use it. Thanks!

EOLR trainer doesn't filter 2a/0 correctly

Hello there ! First of all, this is a great app, thank you very much for making it so nice to use !

There's one problem with the EOLR trainer, which is when I select 2a/0, it shows other cases as well.
The filter works for all other cases, but not this one.

I don't know how much info you need, but I'm running Firefox 86.0.

Screenshot_20210309_180653

Will there be a SBLP trainer?

Seems like it's the only missing part for transitions between steps👀
Although sblp is more 'algorithm-based', but it would be really good to know some different algorithms under certain cases(especially those differed by AUF).

add option to mirror the blocks on the trainers

I solve the first block on the right side, so i would like to be able to mirror the block position in the FB / SB Trainers.

Would it be possible for you to add this as a config on the trainers or a global config on the navbar?

Thanks in advance.

E is coded backwards

E moves go in the same direction as the 'D' face, not the 'U' face. They are coded backwards in this codebase.

Here is a patch that should be close to the correct fix:

diff --git a/src/lib/third_party/onionhoney/CubeLib.ts b/src/lib/third_party/onionhoney/CubeLib.ts
index 24ff095..01c1eee 100644
--- a/src/lib/third_party/onionhoney/CubeLib.ts
+++ b/src/lib/third_party/onionhoney/CubeLib.ts
@@ -381,12 +382,19 @@ export class Move {
         const rws = make_rot_set(rw)
         const lw = new Move([new Move(l), new Move(m)], "l")
         const lws = make_rot_set(lw)
-        const uw = new Move([new Move(u), new Move(e)], "u")
+        const uw = new Move([new Move(u), es[2]], "u")
         const uws = make_rot_set(uw)
 
+        const bw = new Move([new Move(b), ss[2]], "b")
+        const bws = make_rot_set(bw)
+        const dw = new Move([new Move(d), es[0]], "d")
+        const dws = make_rot_set(dw)
+        const fw = new Move([new Move(f), new Move(s)], "f")
+        const fws = make_rot_set(fw)
+
         const x = new Move([new Move(r), ls[2], ms[2]], "x")
         const xs = make_rot_set(x)
-        const y = new Move([new Move(u), new Move(e), ds[2]], "y")
+        const y = new Move([new Move(u), es[2], ds[2]], "y")
         const ys = make_rot_set(y)
         const z = new Move([x, y, x, x, x], "z")
         const zs = make_rot_set(z)
@@ -396,7 +404,7 @@ export class Move {
             id,
             us, fs, rs, ls, ds, bs, ms, es, ss,
             xs, ys, zs,
-            rws, lws, uws
+            rws, lws, uws, bws, dws, fws
         ].flat()
         const moves_dict: { [key: string]: Move } = Object.create({})
         moves.forEach(m => moves_dict[m.name] = m)
diff --git a/src/lib/third_party/onionhoney/Defs.ts b/src/lib/third_party/onionhoney/Defs.ts
index dce2a07..a4499b8 100644
--- a/src/lib/third_party/onionhoney/Defs.ts
+++ b/src/lib/third_party/onionhoney/Defs.ts
@@ -148,9 +148,9 @@ const m : MoveT = {
 const e : MoveT = {
     cpc: [],
     coc: [],
-    epc: [[8, 9], [9, 10], [10, 11], [11, 8]],
+    epc: [[8, 11], [11, 10], [10, 9], [9, 8]],
     eoc: [1, 1, 1, 1],
-    tpc: [[2, 4], [4, 3], [3, 5], [5, 2]],
+    tpc: [[2, 5], [5, 3], [3, 4], [4, 2]],
     name: "E",
 }

Documentation request

Hello! This looks great and is going to be so helpful. However I find some of the options confusing as I'm not familiar with the acronyms being used. I think it would be super helpful for a glossary (either in a modal or eternal link) or some denotation of more advanced options vs basic ones

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.