Python_2  1.0
Namespaces | Functions | Variables
_09_tkhanoi.py File Reference

Namespaces

 _09_tkhanoi
 Towers of Hanoi, Python/Tk style.
 

Functions

def _09_tkhanoi.do_hanoi (n)
 
def _09_tkhanoi.hanoi (n, ffrom, to, work)
 
def _09_tkhanoi.init ()
 
def _09_tkhanoi.move_ring (n, to)
 
def _09_tkhanoi.main ()
 

Variables

list _09_tkhanoi.colors = []
 
int _09_tkhanoi.fly_y = 32
 
int _09_tkhanoi.max_rings = 24
 
int _09_tkhanoi.num_moves = 0
 
dictionary _09_tkhanoi.pole = {}
 
dictionary _09_tkhanoi.ring = {}
 
int _09_tkhanoi.ring_base = 0
 
int _09_tkhanoi.ring_spacing = 0
 
bool _09_tkhanoi.stopped = False
 
bool _09_tkhanoi.single_move = False
 
int _09_tkhanoi.velocity = 0
 
 _09_tkhanoi.mw = Tk()
 
 _09_tkhanoi.canvas = Canvas()