nissy-core

The "engine" of nissy, including the H48 optimal solver.
git clone https://git.tronto.net/nissy-core
Download | Log | Files | Refs | README | LICENSE

commit 9c5c7af7abe9e444210ac86b903eee775fc76a84
parent 8af57b2ffd92daa9a40384ec8b6c49ffabc474d1
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Fri,  8 Aug 2025 15:17:43 +0200

Small fixes

Diffstat:
M.gitignore | 5+++++
Mpython/examples/move.py | 5+++--
Mpython/examples/solve.py | 4++--
Mpython/examples/variations.py | 4++--
4 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -9,6 +9,7 @@ utils/.DS_Store perf.data perf.data.old run +run.exe debugrun shell/lasttest.out shell/lasttest.err @@ -18,7 +19,9 @@ test/.DS_Store test/run test/run.DSYM runtest +runtest.exe runcpp +runcpp.exe runtest.js runtest.wasm web/http/nissy_web_module.* @@ -34,3 +37,5 @@ tools/results *.o *.so *.s +*.pyd +*.dll diff --git a/python/examples/move.py b/python/examples/move.py @@ -1,8 +1,9 @@ # Small example of nissy_python_module usage # See the solve.py example for more details on how this works -from sys import path -path.append("./") +import os, sys + +sys.path.append(os.getcwd()) import nissy_python_module as nissy cube = nissy.applymoves(nissy.solved_cube, "R' U' F"); diff --git a/python/examples/solve.py b/python/examples/solve.py @@ -4,8 +4,8 @@ # folder containing nissy_python_module.so # Append the main folder to the python path so we can load the module -from sys import path -path.append("./") +import sys, os +sys.path.append(os.getcwd()) # Import with a nicer name import nissy_python_module as nissy diff --git a/python/examples/variations.py b/python/examples/variations.py @@ -1,8 +1,8 @@ # Small example of nissy_python_module usage # See the solve.py example for more details on how this works -from sys import path -path.append("./") +import sys, os +sys.path.append(os.getcwd()) import nissy_python_module as nissy moves = "R U' Bw2 M D' x' F B(E2 F D B' Lw2 U2 U' S2 B)"