Welcome to MG's Tower of Hanoi for Python(v3.6.1) made through the pygame(v1.9.3) library.
It's fundamental to install pygame module using pip, for example:
python3 -m pip install pygame
Execute the follow command in the source code directory:
python3 main.py