aboutsummaryrefslogtreecommitdiff
path: root/python/examples/variations.py
blob: 1a9d5bbb3ae92760f33e0a9db703699894acc746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Small example of nissy_python_module usage
# See the solve.py example for more details on how this works

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)"

print("Changing the last quarter turns of {} gives:".format(moves))
for s in nissy.variations(moves, "lastqt"):
	print(s)

Generated with cgit - Back to sebastiano.tronto.net