aboutsummaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-07-18 15:26:59 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-07-18 15:26:59 +0200
commitecc5e71e2d26fbf2f0bf2298ff8ee40366bd4ac7 (patch)
tree4967af971f287576cdf6ab9e7ef5ce77dcc35237 /python/examples
parentde6fa5b9122758f261675aa31fe3cb6e7bab92e5 (diff)
downloadnissy-core-ecc5e71e2d26fbf2f0bf2298ff8ee40366bd4ac7.tar.gz
nissy-core-ecc5e71e2d26fbf2f0bf2298ff8ee40366bd4ac7.zip
Added simpler python example
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/move.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/examples/move.py b/python/examples/move.py
new file mode 100644
index 0000000..3cdd606
--- /dev/null
+++ b/python/examples/move.py
@@ -0,0 +1,10 @@
1# Small example of nissy_python_module usage
2# See the solve.py example for more details on how this works
3
4from sys import path
5path.append("./")
6import nissy_python_module as nissy
7
8cube = nissy.applymoves(nissy.solved_cube, "R' U' F");
9print("Cube after the moves R' U' F:")
10print(cube)

Generated with cgit - Back to sebastiano.tronto.net