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

bin+lib twsearch

Twizzle Search — Twisty puzzle search library

6 releases

0.6.5 Oct 26, 2023
0.6.4 Oct 16, 2023

#22 in #puzzle

Download history 1/week @ 2024-02-20 6/week @ 2024-02-27 1/week @ 2024-03-12 1/week @ 2024-03-26 24/week @ 2024-04-02 190/week @ 2024-04-16

215 downloads per month
Used in twsearch-ffi

MPL-2.0 license

160KB
4K 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

~17–30MB
~643K SLoC