Project

General

Profile

« Previous | Next » 

Revision 5cf34c5f

Added by Leszek Koltunski about 4 years ago

Make chances to randimoze a given row when scrambling dependant on the type of Object.

The point: in case of the Cube, all rows should have equal chances. In case of the Pyraminx, the smaller the row, the smaller the chance should be. In particular the trivial 4 corners of the tetraherdon should have a very small chance to be selected.

View differences:

src/main/java/org/distorted/objects/RubikObject.java
588 588
  public abstract float returnMultiplier();
589 589
  public abstract float returnRotationFactor(float offset);
590 590
  public abstract String retObjectString();
591
  public abstract float[] getRowChances();
591 592
  }

Also available in: Unified diff