Skip to content

Train your PLL skills on Rubik's cube with this groovy script

Notifications You must be signed in to change notification settings

smonteillet/pll-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

pll-trainer

PLL stands for Permutation of the Last Layer, the last step of Fridrich (CFOP) method for solving Rubik's cube. This Groovy script will help you to train how to solve PLLs. It will allows you to generate a scramble which will lead you to a random PLL case.

Tools requirements

You must have Java and Groovy installed. This has been tested with Java 8 and Groovy 2.4.X

How to run

$ groovy pll_trainer.groovy

Next PLL scramble:
F R' F' R U R U' R' F R U' R' U R U R' F' U2
Use [ENTER] to reveal PLL or [CTRL-C] to quit

The PLL was : T
-------------------------------------------------

Next PLL scramble:
R' D' R U' R' D R U R' D' R U2 R' D R U' R' D' R U R' D R U2
Use [ENTER] to reveal PLL

Option -i

If you want to train only with a specific set of PLLs, you can add the following argument:

$ groovy pll_trainer.groovy -i Ga,Gb,Gc,Gd

Next PLL scramble:
R' U2 R U' F R U R' U' R' F' U' R U R U' R'
Use [ENTER] to reveal PLL or [CTRL-C] to quit

The PLL was : Ga

Option -e

If you want to remove a specific set of PLLs, you can add the following argument:

$ groovy pll_trainer.groovy -e Na,Nb

Next PLL scramble:
R' U2 R U' F R U R' U' R' F' U' R U R U' R'
Use [ENTER] to reveal PLL or [CTRL-C] to quit

The PLL was : Ga

Option -t

If you want to add a timer to track your PLLs solve time, you can add the -t option like this:

$ groovy pll_trainer.groovy -t

Next PLL scramble:
B2 U2 B' U2 B2 U2 F2 D2 B' D2 F2 U'
Use [ENTER] to START / STOP timer  or [CTRL-C] to quit

2,571 s

The PLL was : H
-------------------------------------------------