summaryrefslogtreecommitdiff
path: root/src/test/hanoi.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/hanoi.lisp')
-rw-r--r--src/test/hanoi.lisp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/test/hanoi.lisp b/src/test/hanoi.lisp
index 387e696a..7a25656c 100644
--- a/src/test/hanoi.lisp
+++ b/src/test/hanoi.lisp
@@ -126,7 +126,7 @@
(setq stacks (replace stacks from from-stack))
(setq stacks (replace stacks to to-stack))
(display)
- (delay 100)
+; (delay 100)
)
)
@@ -158,3 +158,12 @@
(clear)
(_hanoi len 0 1 2)
)
+
+(defun hanois(n)
+ (while (> n 0)
+ (progn
+ (hanoi)
+ (setq l (1- l))
+ )
+ )
+ )