7 lines
3.1 KiB
Plaintext
7 lines
3.1 KiB
Plaintext
en·vÅos HANOI
|
||
2
|
||
|
||
4
|
||
|
||
1
|
||
|
||
Hanoi
|
||
1
|
||
|
||
4
|
||
|
||
By: Larry Masinter (Masinter.pa@Xerox.com)
|
||
INTRODUCTION
|
||
Ancient graphics demo, upgraded to be idle hack. Adds Hanoi to list of idle displays.
|
||
OPERATION
|
||
(HANOI NRINGS WINDOW FONT ONCE) [Function]
|
||
Will display in WINDOW (or HANOIWINDOW, created first time) a towers-of-hanoi problem and solve it. It periodically blocks so you can run it as a background process. NRINGS is the number of rings. If NRINGS is a list it is the labels printed on the rings in font FONT. It conforms to the window shape if you reshape it. It will run indefinitely unless ONCE is non-NIL.
|
||
|
||
|
||
|