;ELC   
;;; compiled by kwzh@hal.gnu.ai.mit.edu on Tue Apr 25 18:00:51 1995
;;; from file /gd/gnu/emacs/19.0/lisp/hanoi.el
;;; emacs version 19.28.90.40.
;;; bytecomp version FSF 2.10
;;; optimization is on.
;;; this file uses opcodes which do not exist in Emacs 18.

(if (and (boundp 'emacs-version)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19")))
    (error "`/gd/gnu/emacs/19.0/lisp/hanoi.el' was compiled for Emacs 19"))


(defalias 'hanoi-topos #[(row col) "À	!ˆÂyˆu‡" [goto-line row 0 col] 2])
#@58 Towers of Hanoi diversion.  Argument is number of rings.
(defalias 'hanoi #[(nrings) "ÁXƒ\n ÂÃ!ˆÄÄÇÈ !ÉÈ !	Ê	Ë¥Ì\"Î\\TYƒ= V„e Ñ ˆÇÈ !‰Yƒ] Ê	Ë¥Ì\"‰V„e ÂÒ#ˆÓZVƒv ÓZ‚x *ZÔZBÓ_BÕ_BÖÄ\"ÁÁWƒÍ ÜÄÝ‰Ó\\\\Þ\\\"Ý‰Ó\\\\ß\"#IˆT‰‚¡ )àá!ˆÄ\"ãp!ˆä ˆÁWƒø Tåß	S\"ˆæcˆ‚ß )åç	S\"ˆÔ((ËWƒ@é(_\"ˆ(ê\\(Wƒ<TëÔ!ˆìcˆíÔ!ˆîÔ!ˆ‚)‚)ÁÄ/‰Wƒ…ZÔZH‰/ÁZIˆéA@ZZ\"ˆð/ñÄ#ˆ‰AS¡ˆT‰‚H*ñ\"òÁ!ˆóS$ˆebˆôõ!ˆñ\"ö ˆòÁ!.\n‡" [nrings 0 error "Negative number of rings" nil floor-row fly-row window-height selected-window window-width logand 6 -2 pole-spacing 4 w h delete-other-windows "Screen is too small (need at least %dx%d)" 3 1 5 make-vector rings pole-3 pole-2 pole-1 i vector make-string 48 32 switch-to-buffer "*Hanoi*" buffer-read-only buffer-disable-undo erase-buffer insert-char 10 61 n hanoi-topos 2 next-line 124 delete-char backward-char ring hanoi-draw-ring t sit-for hanoi0 message "Done" force-mode-line-update] 10 (#$ . 553) (list (if (null current-prefix-arg) 3 (prefix-numeric-value current-prefix-arg)))])
(defalias 'hanoi0 #[(n from to work) "À ƒ ÁÂÃC\"‡\fÅW†. Æ\fS	$ˆÊ\f	#ˆÆ\fS	$‡" [input-pending-p signal quit "I can tell you've had enough" n 0 hanoi0 from work to hanoi-move-ring] 5])
(defalias 'hanoi-move-ring #[(n from to) "	HÂ‰ÅH@	ZÇZ@	ZÇZA	\n\fÍ\f\"ˆ\fVƒN Ï\fÂÐ#ˆÑÇ!ˆÏ\fÐÂ#ˆÒÅ!ˆ\fS‰\f‚+ ‰AT¡ˆ\nš„¥ \nVƒ ÇˆÓÔ!ˆÅyˆÕ‰±ˆÒÅ!ˆTT‚U \nWƒU ÅyˆÖÔ!ˆÇˆÕ‰±ˆÒÅ!ˆSS‚U Í\n\"ˆ\f	WƒÕ Ï\fÂ\fV#ˆ×Ç!ˆÏ\fÐÂ#ˆÒÅ!ˆ\fT‰\f‚® \fÅ	Iˆ‰AS¡.‡" [rings n nil buffer-read-only ring 0 from 1 to dst-row dst-col col row hanoi-topos fly-row hanoi-draw-ring t previous-line sit-for delete-backward-char 2 32 delete-char next-line] 6])
(defalias 'hanoi-draw-ring #[(ring f1 f2) "Šƒ 	ÂH‚ 	ÃH‰GÆ!ˆ\fcˆ…, ÈÂ\\Ã¥!ˆÆÂ!ˆÉc+‡" [f1 ring 1 2 string len delete-char f2 backward-char 124] 4])
(provide (quote hanoi))
