cuber 0.2.0 copy "cuber: ^0.2.0" to clipboard
cuber: ^0.2.0 copied to clipboard

outdated

Dart implementation of Herbert Kociemba's two-phase algorithm for solving Rubik's Cube.

example/main.dart

import 'package:cuber/cuber.dart';

void main() async {
  const d = 'BLRRULDLRFDDBRFLFRFFUBFULRDBBFUDRFRBLDRULDUFUBBDDBLUUL';
  final cube = Cube.from(d);

  await for (final s in cube.solveDeeply()) {
    print('[${s.elapsedTime}]: (${s.length} moves) $s');
  }
}
16
likes
0
pub points
48%
popularity

Publisher

verified publishertiagohm.dev

Dart implementation of Herbert Kociemba's two-phase algorithm for solving Rubik's Cube.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

equatable, meta

More

Packages that depend on cuber