diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-14 00:05:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-14 14:45:22 +0200 |
| commit | 8a91354f7b94c669c77fe628a81f9bfe9f599ef0 (patch) | |
| tree | ba29a8b0416cb3464b49fd7cfb69e7f407b892c8 /tools/300_solve_small/solve_small.c | |
| parent | 7dbd34574f629cacf3b89292d2a06ad0ae612f26 (diff) | |
| download | nissy-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.c | 3 |
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 | } |
