pigeon-magnet-solver/pigeon_magnet_solver/main.py

25 lines
321 B
Python
Raw Normal View History

2023-08-18 18:41:58 +00:00
#!/usr/bin/python3
from .board import Board
def main() -> None:
board = Board.default_puzzle
2023-08-18 22:35:10 +00:00
print(board)
print()
board.click(2) # not a button!
print(board)
print()
board.click(4)
print(board)
print()
2023-08-18 18:41:58 +00:00
2023-08-18 22:35:10 +00:00
board.click(5)
2023-08-18 18:41:58 +00:00
print(board)
if __name__ == "__main__":
main()