Skip to content

Commit

Permalink
0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerchubb committed Sep 26, 2023
1 parent 08f4032 commit f8524f7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Binary file modified solver-js/dist/pkg/solver_wasm_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion solver-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spencerchubb/solver",
"version": "0.1.8",
"version": "0.1.9",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
Expand Down
12 changes: 9 additions & 3 deletions solver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ pub fn main() {
// let disregard: &[usize] = &[];

// Find cross solution
let alg = "L2 D2 F2 L' F2 R' F2 L2 B2 R B2 R2 B D F2 R' F' U B R2 B'";
// let alg = "L2 D2 F2 L' F2 R' F2 L2 B2 R B2 R2 B D F2 R' F' U B R2 B'";
// let moves = "U U' D D' R R' L L' F F' B B'";
// let only_orientation: &[usize] = &[];
// let disregard: &[usize] = &[0,1,2,3,4,5,6,7,12,13,14,15,16,17,18,19];

// EOLine
let alg = "L2 F2 L2 B R2 F' R2 U2 F' R2 U2 L2 R' U L2 F2 R' D' B2 R' U";
let moves = "U U' D D' R R' L L' F F' B B'";
let only_orientation: &[usize] = &[];
let disregard: &[usize] = &[0,1,2,3,4,5,6,7,12,13,14,15,16,17,18,19];
let only_orientation: &[usize] = &[8, 9, 10, 11, 12, 13, 15, 16, 18, 19];
let disregard: &[usize] = &[0, 1, 2, 3, 4, 5, 6, 7];

let mut start = crate::cube::Cube::new();
let mut end = crate::cube::Cube::new();
Expand Down

0 comments on commit f8524f7

Please sign in to comment.