aboutsummaryrefslogtreecommitdiff
path: root/python/examples/move.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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