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');
  }
}
17
likes
150
pub points
45%
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