implement tower shuffle

This commit is contained in:
2025-08-29 14:14:37 -05:00
parent 2ef80e8878
commit 76416aae95
7 changed files with 96 additions and 51 deletions

View File

@@ -29,3 +29,11 @@ def test_full_shuffle():
keypad.full_shuffle()
print(keypad.keypad)
def test_tower_shuffle():
p = 4 # properties_per_key
k = 3 # number_of_keys
keypad = Keypad.new_keypad(k, p)
print()
for _ in range(10):
print(keypad.keypad)
keypad.tower_shuffle()