Python-based visualization tool demonstrating brute-force puzzle solving with a GUI interface.
- Python 3.x
- Tkinter library (included with Python)
Default Configuration:
- Board Size: 25x40 (1000 pieces)
- Test Delay: 0.0001s
- Place Delay: 0.00001s
- Cell Dimensions: 3x1
- Font Size: 8pt
Color Indicators:
- Red: Testing piece
- Green: Placed piece
- White: Unplaced piece
- Gray: Empty cell
The program implements a brute-force algorithm that:
- Initializes board and scrambled piece set
- Sequentially tests pieces for each position
- Places matching pieces and updates visual state
- Tracks simulated solve time
- Provides scrollable views of board and piece inventory
Key variables at script start can be modified to adjust:
- Puzzle dimensions
- Animation speeds
- Visual parameters
- UI colors