#puzzle #search #experimental #events #scramble #pure #twisty

bin+lib twsearch

Twizzle Search — Twisty puzzle search library

7 releases

0.6.6 Jul 18, 2024
0.6.5 Oct 26, 2023

#19 in #puzzle

32 downloads per month
Used in twsearch-ffi

MPL-2.0 license

130KB
3K SLoC

twsearch

A pure Rust implementation of twsearch. For now, most of the code is experimental and placed in twsearch::_internal.

Example usage

use twsearch::scramble::{random_scramble_for_event, Event};

pub fn main() {
    let scramble = random_scramble_for_event(Event::Cube2x2x2Speedsolving).unwrap();
    println!("{}", scramble);
}

Dependencies

~18–30MB
~640K SLoC