main output
This commit is contained in:
parent
f8dadca9a8
commit
1181e96ab3
1 changed files with 6 additions and 11 deletions
|
@ -6,18 +6,13 @@ from .board import Board
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
board = Board.default_puzzle
|
board = Board.default_puzzle
|
||||||
print(board)
|
print(board)
|
||||||
print()
|
print(board.solution_class, board.binary_repr)
|
||||||
|
|
||||||
board.click(2) # not a button!
|
for btn in (2, 4, 5, 7): # 2 is not a regular button, but alas
|
||||||
print(board)
|
print(f"clicking button {btn} ...")
|
||||||
print()
|
board.click(btn)
|
||||||
|
|
||||||
board.click(4)
|
|
||||||
print(board)
|
|
||||||
print()
|
|
||||||
|
|
||||||
board.click(5)
|
|
||||||
print(board)
|
print(board)
|
||||||
|
print(board.solution_class, board.binary_repr)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue