aboutsummaryrefslogtreecommitdiff
path: root/tools/300_solve_small/solve_small.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-14 00:05:43 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-14 14:45:22 +0200
commit8a91354f7b94c669c77fe628a81f9bfe9f599ef0 (patch)
treeba29a8b0416cb3464b49fd7cfb69e7f407b892c8 /tools/300_solve_small/solve_small.c
parent7dbd34574f629cacf3b89292d2a06ad0ae612f26 (diff)
downloadnissy-core-8a91354f7b94c669c77fe628a81f9bfe9f599ef0.tar.gz
nissy-core-8a91354f7b94c669c77fe628a81f9bfe9f599ef0.zip
Interface changes, progress with python
Diffstat (limited to 'tools/300_solve_small/solve_small.c')
-rw-r--r--tools/300_solve_small/solve_small.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/300_solve_small/solve_small.c b/tools/300_solve_small/solve_small.c
index 5400436..622c36e 100644
--- a/tools/300_solve_small/solve_small.c
+++ b/tools/300_solve_small/solve_small.c
@@ -23,7 +23,8 @@ void run(void) {
23 for (i = 0; scrambles[i] != NULL; i++) { 23 for (i = 0; scrambles[i] != NULL; i++) {
24 printf("%d. %s\n", i+1, scrambles[i]); 24 printf("%d. %s\n", i+1, scrambles[i]);
25 printf("Solving scramble %s\n", scrambles[i]); 25 printf("Solving scramble %s\n", scrambles[i]);
26 if (nissy_frommoves(scrambles[i], cube) == -1) { 26 if (nissy_applymoves(NISSY_SOLVED_CUBE, scrambles[i], cube)
27 == -1) {
27 printf("Invalid scramble\n"); 28 printf("Invalid scramble\n");
28 continue; 29 continue;
29 } 30 }

Generated with cgit - Back to sebastiano.tronto.net