Problem (Med — crash on START)
utilities/Tower-of-Hanoi/Tower-of-Hanoi.py:49:
num_disks = int(disk_entry.get())
has no validation. Clicking START with the entry empty (its default) or containing non-numeric text raises an uncaught ValueError in the Tk callback — a traceback is dumped to the console and the game never starts. Trivially reproducible on first launch.
Suggested fix (small)
Wrap in try/except ValueError, validate num_disks >= 1, and show a feedback-label message instead of throwing.
Glad to fix under GSSoC '26.
Problem (Med — crash on START)
utilities/Tower-of-Hanoi/Tower-of-Hanoi.py:49:num_disks = int(disk_entry.get())has no validation. Clicking START with the entry empty (its default) or containing non-numeric text raises an uncaught
ValueErrorin the Tk callback — a traceback is dumped to the console and the game never starts. Trivially reproducible on first launch.Suggested fix (small)
Wrap in
try/except ValueError, validatenum_disks >= 1, and show a feedback-label message instead of throwing.Glad to fix under GSSoC '26.