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

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
130
pub points
50%
popularity

Publisher

verified publishertiagohm.dev

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable

More

Packages that depend on cuber