home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 5 (Internal Edition) / Apple R&P Lib Internal v5.0.iso / 3-Presentations / Markets / Education / HyperCard In Education / Towers of Hanoi < prev   
HyperCard Stack  |  1990-02-20  |  15.0 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: HyperCard Stack (archive/hypercard).

You can browse this item here: Towers of Hanoi

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) magic Supported
100% file data default
100% TrID HyperCard Stack default
100% siegfried fmt/1490 HyperCard Stack default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 10 00 53 54 41 4b | ff ff ff ff e7 e3 5e 33 |....STAK|......^3|
|00000010| 00 00 00 08 00 00 3c 00 | 00 00 10 00 00 00 00 00 |......<.|........|
|00000020| 00 00 00 00 00 00 00 01 | 00 00 0a df 00 00 00 01 |........|........|
|00000030| 00 00 0b e3 00 00 0c f1 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |....."..|."..."..|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 6f 6e 20 64 6f 6d 65 6e | 75 20 6d 65 6e 75 20 20 |on domen|u menu |
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000620| 20 20 20 20 20 2d 2d 2f | 2f 20 41 64 64 65 64 20 | --/|/ Added |
|00000630| 62 79 20 4d 65 64 69 6f | 72 2c 20 49 6e 63 2e 20 |by Medio|r, Inc. |
|00000640| 32 2f 32 30 2f 39 30 0d | 67 6c 6f 62 61 6c 20 52 |2/20/90.|global R|
|00000650| 50 53 74 61 63 6b 4e 61 | 6d 65 0d 69 66 20 6d 65 |PStackNa|me.if me|
|00000660| 6e 75 20 69 73 20 69 6e | 20 22 48 6f 6d 65 2c 51 |nu is in| "Home,Q|
|00000670| 75 69 74 20 48 79 70 65 | 72 43 61 72 64 22 20 61 |uit Hype|rCard" a|
|00000680| 6e 64 20 52 50 53 74 61 | 63 6b 4e 61 6d 65 20 69 |nd RPSta|ckName i|
|00000690| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000006a0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|000006b0| 61 74 63 68 0d 70 75 74 | 20 52 50 53 74 61 63 6b |atch.put| RPStack|
|000006c0| 4e 61 6d 65 20 69 6e 74 | 6f 20 73 68 6f 72 74 6e |Name int|o shortn|
|000006d0| 61 6d 65 0d 72 65 70 65 | 61 74 20 75 6e 74 69 6c |ame.repe|at until|
|000006e0| 20 6f 66 66 73 65 74 28 | 22 3a 22 2c 73 68 6f 72 | offset(|":",shor|
|000006f0| 74 6e 61 6d 65 29 20 3d | 20 30 0d 64 65 6c 65 74 |tname) =| 0.delet|
|00000700| 65 20 63 68 61 72 20 31 | 20 74 6f 20 6f 66 66 73 |e char 1| to offs|
|00000710| 65 74 28 22 3a 22 2c 73 | 68 6f 72 74 6e 61 6d 65 |et(":",s|hortname|
|00000720| 29 20 6f 66 20 73 68 6f | 72 74 6e 61 6d 65 0d 65 |) of sho|rtname.e|
|00000730| 6e 64 20 72 65 70 65 61 | 74 0d 64 65 6c 65 74 65 |nd repea|t.delete|
|00000740| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 73 68 | last ch|ar of sh|
|00000750| 6f 72 74 6e 61 6d 65 0d | 61 6e 73 77 65 72 20 22 |ortname.|answer "|
|00000760| 54 68 69 73 20 77 69 6c | 6c 20 72 65 74 75 72 6e |This wil|l return|
|00000770| 20 74 6f 20 22 26 73 68 | 6f 72 74 6e 61 6d 65 26 | to "&sh|ortname&|
|00000780| 22 2e 22 20 77 69 74 68 | 20 22 43 61 6e 63 65 6c |"." with| "Cancel|
|00000790| 22 20 6f 72 20 22 4f 4b | 22 0d 69 66 20 69 74 20 |" or "OK|".if it |
|000007a0| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|000007b0| 20 65 78 69 74 20 64 6f | 6d 65 6e 75 0d 73 65 74 | exit do|menu.set|
|000007c0| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|000007d0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|000007e0| 52 50 53 74 61 63 6b 4e | 61 6d 65 0d 75 6e 6c 6f |RPStackN|ame.unlo|
|000007f0| 63 6b 20 73 63 72 65 65 | 6e 20 77 69 74 68 20 64 |ck scree|n with d|
|00000800| 69 73 73 6f 6c 76 65 0d | 65 78 69 74 20 64 6f 6d |issolve.|exit dom|
|00000810| 65 6e 75 0d 65 6c 73 65 | 20 70 61 73 73 20 64 6f |enu.else| pass do|
|00000820| 4d 65 6e 75 0d 65 6e 64 | 20 64 6f 6d 65 6e 75 0d |Menu.end| domenu.|
|00000830| 0d 2d 2d 20 43 6f 70 79 | 72 69 67 68 74 20 a9 20 |.-- Copy|right . |
|00000840| 31 39 38 38 20 43 69 6e | 63 69 6e 6e 61 74 69 20 |1988 Cin|cinnati |
|00000850| 43 6f 75 6e 74 72 79 20 | 44 61 79 20 53 63 68 6f |Country |Day Scho|
|00000860| 6f 6c 2e 20 20 41 6c 6c | 20 72 69 67 68 74 73 20 |ol. All| rights |
|00000870| 72 65 73 65 72 76 65 64 | 2e 0d 0d 2d 2d 20 54 68 |reserved|...-- Th|
|00000880| 69 73 20 69 73 20 74 68 | 65 20 72 65 63 75 72 73 |is is th|e recurs|
|00000890| 69 76 65 20 61 6c 67 6f | 72 69 74 68 6d 20 74 68 |ive algo|rithm th|
|000008a0| 61 74 20 6d 6f 76 65 73 | 20 61 20 74 6f 77 65 72 |at moves| a tower|
|000008b0| 20 6f 66 20 22 68 65 69 | 67 68 74 22 20 64 69 73 | of "hei|ght" dis|
|000008c0| 6b 73 0d 2d 2d 20 66 72 | 6f 6d 20 74 68 65 20 22 |ks.-- fr|om the "|
|000008d0| 73 6f 75 72 63 65 22 20 | 70 6f 6c 65 20 74 6f 20 |source" |pole to |
|000008e0| 74 68 65 20 22 64 65 73 | 74 22 20 70 6f 6c 65 20 |the "des|t" pole |
|000008f0| 75 73 69 6e 67 20 74 68 | 65 20 22 61 75 78 22 20 |using th|e "aux" |
|00000900| 70 6f 6c 65 20 61 73 0d | 2d 2d 20 74 68 65 20 61 |pole as.|-- the a|
|00000910| 75 78 69 6c 69 61 72 79 | 2e 20 20 49 74 20 77 6f |uxiliary|. It wo|
|00000920| 72 6b 73 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 20 |rks as f|ollows: |
|00000930| 20 69 66 20 68 65 69 67 | 68 74 20 69 73 20 30 2c | if heig|ht is 0,|
|00000940| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 0d 2d 2d 20 | there i|s no.-- |
|00000950| 74 6f 77 65 72 20 74 6f | 20 6d 6f 76 65 2c 20 61 |tower to| move, a|
|00000960| 6e 64 20 69 66 20 73 6f | 75 72 63 65 20 3d 20 64 |nd if so|urce = d|
|00000970| 65 73 74 2c 20 74 68 65 | 72 65 20 69 73 20 6e 6f |est, the|re is no|
|00000980| 20 6d 6f 76 65 6d 65 6e | 74 2c 20 73 6f 20 69 6e | movemen|t, so in|
|00000990| 0d 2d 2d 20 74 68 69 73 | 20 63 61 73 65 20 74 68 |.-- this| case th|
|000009a0| 65 20 61 6c 67 6f 72 69 | 74 68 6d 20 65 78 69 74 |e algori|thm exit|
|000009b0| 73 20 68 61 76 69 6e 67 | 20 64 6f 6e 65 20 6e 6f |s having| done no|
|000009c0| 74 68 69 6e 67 2e 20 20 | 4f 74 68 65 72 77 69 73 |thing. |Otherwis|
|000009d0| 65 2c 20 74 68 65 0d 2d | 2d 20 61 6c 67 6f 72 69 |e, the.-|- algori|
|000009e0| 74 68 6d 20 72 65 63 75 | 72 73 69 76 65 6c 79 20 |thm recu|rsively |
|000009f0| 63 61 6c 6c 73 20 69 74 | 73 65 6c 66 20 74 6f 20 |calls it|self to |
|00000a00| 6d 6f 76 65 20 61 20 74 | 6f 77 65 72 20 6f 66 20 |move a t|ower of |
|00000a10| 68 65 69 67 68 74 20 2d | 20 31 0d 2d 2d 20 64 69 |height -| 1.-- di|
|00000a20| 73 6b 73 20 66 72 6f 6d | 20 74 68 65 20 73 6f 75 |sks from| the sou|
|00000a30| 72 63 65 20 74 6f 20 74 | 68 65 20 61 75 78 69 6c |rce to t|he auxil|
|00000a40| 69 61 72 79 20 76 69 61 | 20 74 68 65 20 64 65 73 |iary via| the des|
|00000a50| 74 69 6e 61 74 69 6f 6e | 2e 20 20 48 61 76 69 6e |tination|. Havin|
|00000a60| 67 0d 2d 2d 20 74 68 75 | 73 20 6d 6f 76 65 64 20 |g.-- thu|s moved |
|00000a70| 61 6c 6c 20 6f 76 65 72 | 6c 79 69 6e 67 20 64 69 |all over|lying di|
|00000a80| 73 6b 73 20 6f 75 74 20 | 6f 66 20 74 68 65 20 77 |sks out |of the w|
|00000a90| 61 79 2c 20 74 68 65 20 | 61 6c 67 6f 72 69 74 68 |ay, the |algorith|
|00000aa0| 6d 20 74 68 65 6e 0d 2d | 2d 20 73 69 6d 70 6c 79 |m then.-|- simply|
|00000ab0| 20 6d 6f 76 65 73 20 64 | 69 73 6b 20 6e 75 6d 62 | moves d|isk numb|
|00000ac0| 65 72 20 22 48 65 69 67 | 68 74 22 20 66 72 6f 6d |er "Heig|ht" from|
|00000ad0| 20 74 68 65 20 73 6f 75 | 72 63 65 20 74 6f 20 74 | the sou|rce to t|
|00000ae0| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 2e 0d |he desti|nation..|
|00000af0| 2d 2d 20 46 69 6e 61 6c | 6c 79 2c 20 69 74 20 61 |-- Final|ly, it a|
|00000b00| 67 61 69 6e 20 63 61 6c | 6c 73 20 69 74 73 65 6c |gain cal|ls itsel|
|00000b10| 66 20 72 65 63 75 72 73 | 69 76 65 6c 79 20 74 6f |f recurs|ively to|
|00000b20| 20 6d 6f 76 65 20 74 68 | 65 20 74 6f 77 65 72 20 | move th|e tower |
|00000b30| 6f 66 0d 2d 2d 20 68 65 | 69 67 68 74 20 2d 20 31 |of.-- he|ight - 1|
|00000b40| 20 64 69 73 6b 73 20 66 | 72 6f 6d 20 74 68 65 20 | disks f|rom the |
|00000b50| 61 75 78 69 6c 69 61 72 | 79 20 74 6f 20 74 68 65 |auxiliar|y to the|
|00000b60| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 6f 6e 20 | destina|tion on |
|00000b70| 74 6f 70 20 6f 66 20 64 | 69 73 6b 0d 2d 2d 20 6e |top of d|isk.-- n|
|00000b80| 75 6d 62 65 72 20 22 48 | 65 69 67 68 74 2e 22 20 |umber "H|eight." |
|00000b90| 20 53 65 65 20 74 68 65 | 20 73 63 72 69 70 74 20 | See the| script |
|00000ba0| 6f 66 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |of the b|ackgroun|
|00000bb0| 64 20 66 6f 72 20 74 68 | 65 20 64 65 74 61 69 6c |d for th|e detail|
|00000bc0| 73 0d 2d 2d 20 6f 66 20 | 6f 74 68 65 72 20 68 61 |s.-- of |other ha|
|00000bd0| 6e 64 6c 65 72 73 2e 0d | 0d 6f 6e 20 6d 6f 76 65 |ndlers..|.on move|
|00000be0| 54 6f 77 65 72 20 68 65 | 69 67 68 74 2c 20 73 6f |Tower he|ight, so|
|00000bf0| 75 72 63 65 2c 20 64 65 | 73 74 2c 20 61 75 78 0d |urce, de|st, aux.|
|00000c00| 61 64 64 20 31 20 74 6f | 20 66 69 65 6c 64 20 64 |add 1 to| field d|
|00000c10| 65 70 74 68 0d 69 66 20 | 68 65 69 67 68 74 20 3e |epth.if |height >|
|00000c20| 20 30 20 61 6e 64 20 73 | 6f 75 72 63 65 20 ad 20 | 0 and s|ource . |
|00000c30| 64 65 73 74 20 74 68 65 | 6e 0d 6d 6f 76 65 54 6f |dest the|n.moveTo|
|00000c40| 77 65 72 20 68 65 69 67 | 68 74 20 2d 20 31 2c 20 |wer heig|ht - 1, |
|00000c50| 73 6f 75 72 63 65 2c 20 | 61 75 78 2c 20 64 65 73 |source, |aux, des|
|00000c60| 74 0d 6d 6f 76 65 44 69 | 73 6b 20 68 65 69 67 68 |t.moveDi|sk heigh|
|00000c70| 74 2c 20 73 6f 75 72 63 | 65 2c 20 64 65 73 74 0d |t, sourc|e, dest.|
|00000c80| 6d 6f 76 65 54 6f 77 65 | 72 20 68 65 69 67 68 74 |moveTowe|r height|
|00000c90| 20 2d 20 31 2c 20 61 75 | 78 2c 20 64 65 73 74 2c | - 1, au|x, dest,|
|00000ca0| 20 73 6f 75 72 63 65 0d | 65 6e 64 20 69 66 0d 73 | source.|end if.s|
|00000cb0| 75 62 74 72 61 63 74 20 | 31 20 66 72 6f 6d 20 66 |ubtract |1 from f|
|00000cc0| 69 65 6c 64 20 64 65 70 | 74 68 0d 65 6e 64 20 6d |ield dep|th.end m|
|00000cd0| 6f 76 65 54 6f 77 65 72 | 0d 0d 6f 6e 20 6d 6f 76 |oveTower|..on mov|
|00000ce0| 65 44 69 73 6b 20 6e 2c | 20 73 6f 75 72 63 65 2c |eDisk n,| source,|
|00000cf0| 20 64 65 73 74 0d 67 6c | 6f 62 61 6c 20 79 42 61 | dest.gl|obal yBa|
|00000d00| 73 65 2c 20 64 48 65 69 | 67 68 74 2c 20 73 74 61 |se, dHei|ght, sta|
|00000d10| 63 6b 48 65 69 67 68 74 | 2c 20 78 50 6f 6c 65 2c |ckHeight|, xPole,|
|00000d20| 20 70 6f 6c 65 54 6f 70 | 0d 67 65 74 20 22 44 69 | poleTop|.get "Di|
|00000d30| 73 6b 22 20 26 26 20 6e | 0d 70 75 74 20 74 68 65 |sk" && n|.put the|
|00000d40| 20 6c 6f 63 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 | loc of |bkgnd bu|
|00000d50| 74 74 6f 6e 20 69 74 20 | 69 6e 74 6f 20 64 53 6f |tton it |into dSo|
|00000d60| 75 72 63 65 0d 70 75 74 | 20 22 30 2c 30 22 20 69 |urce.put| "0,0" i|
|00000d70| 6e 74 6f 20 64 44 65 73 | 74 31 0d 70 75 74 20 69 |nto dDes|t1.put i|
|00000d80| 74 65 6d 20 73 6f 75 72 | 63 65 20 6f 66 20 78 50 |tem sour|ce of xP|
|00000d90| 6f 6c 65 20 69 6e 74 6f | 20 69 74 65 6d 20 31 20 |ole into| item 1 |
|00000da0| 6f 66 20 64 44 65 73 74 | 31 0d 70 75 74 20 70 6f |of dDest|1.put po|
|00000db0| 6c 65 54 6f 70 20 69 6e | 74 6f 20 69 74 65 6d 20 |leTop in|to item |
|00000dc0| 32 20 6f 66 20 64 44 65 | 73 74 31 0d 70 75 74 20 |2 of dDe|st1.put |
|00000dd0| 64 44 65 73 74 31 20 69 | 6e 74 6f 20 64 44 65 73 |dDest1 i|nto dDes|
|00000de0| 74 32 0d 70 75 74 20 69 | 74 65 6d 20 64 65 73 74 |t2.put i|tem dest|
|00000df0| 20 6f 66 20 78 50 6f 6c | 65 20 69 6e 74 6f 20 69 | of xPol|e into i|
|00000e00| 74 65 6d 20 31 20 6f 66 | 20 64 44 65 73 74 32 0d |tem 1 of| dDest2.|
|00000e10| 70 75 74 20 64 44 65 73 | 74 32 20 69 6e 74 6f 20 |put dDes|t2 into |
|00000e20| 64 44 65 73 74 33 0d 70 | 75 74 20 79 42 61 73 65 |dDest3.p|ut yBase|
|00000e30| 20 2d 20 64 48 65 69 67 | 68 74 20 2a 20 69 74 65 | - dHeig|ht * ite|
|00000e40| 6d 20 64 65 73 74 20 6f | 66 20 73 74 61 63 6b 48 |m dest o|f stackH|
|00000e50| 65 69 67 68 74 20 69 6e | 74 6f 20 69 74 65 6d 20 |eight in|to item |
|00000e60| 32 20 6f 66 20 64 44 65 | 73 74 33 0d 64 72 61 67 |2 of dDe|st3.drag|
|00000e70| 20 66 72 6f 6d 20 64 53 | 6f 75 72 63 65 20 74 6f | from dS|ource to|
|00000e80| 20 64 44 65 73 74 31 0d | 64 72 61 67 20 66 72 6f | dDest1.|drag fro|
|00000e90| 6d 20 64 44 65 73 74 31 | 20 74 6f 20 64 44 65 73 |m dDest1| to dDes|
|00000ea0| 74 32 0d 64 72 61 67 20 | 66 72 6f 6d 20 64 44 65 |t2.drag |from dDe|
|00000eb0| 73 74 32 20 74 6f 20 64 | 44 65 73 74 33 0d 73 75 |st2 to d|Dest3.su|
|00000ec0| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 69 74 |btract 1| from it|
|00000ed0| 65 6d 20 73 6f 75 72 63 | 65 20 6f 66 20 73 74 61 |em sourc|e of sta|
|00000ee0| 63 6b 48 65 69 67 68 74 | 0d 61 64 64 20 31 20 74 |ckHeight|.add 1 t|
|00000ef0| 6f 20 69 74 65 6d 20 64 | 65 73 74 20 6f 66 20 73 |o item d|est of s|
|00000f00| 74 61 63 6b 48 65 69 67 | 68 74 0d 61 64 64 20 31 |tackHeig|ht.add 1|
|00000f10| 20 74 6f 20 66 69 65 6c | 64 20 6d 6f 76 65 73 0d | to fiel|d moves.|
|00000f20| 65 6e 64 20 6d 6f 76 65 | 44 69 73 6b 0d 00 00 00 |end move|Disk....|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 01 7a a8 00 00 00 00 | 00 00 d4 df 00 01 82 e3 |..z.....|........|
|00001030| 00 00 90 f1 00 00 94 4c | 00 00 00 00 00 00 00 00 |.......L|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 80 4c 49 53 54 | 00 00 0c f1 00 00 00 01 |....LIST|........|
|00001210| 00 00 08 00 00 00 00 01 | 00 44 00 02 00 10 00 03 |........|.D......|
|00001220| 80 00 01 aa 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 0d 4c 00 01 00 00 | 00 00 00 00 00 00 00 00 |...L....|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 08 00 50 41 47 45 | 00 00 0d 4c 00 00 0c f1 |....PAGE|...L....|
|00001290| 60 00 01 7c 00 00 00 00 | 00 00 0b e3 60 36 ff ff |`..|....|....`6..|
|000012a0| fe ea fd de fc 7e ee fb | be dd ff cf c6 d8 fe 5e |.....~..|.......^|
|000012b0| ff 7b 37 ff f3 8f bb fc | f7 ed 2f f3 ff 77 ff ff |.{7.....|../..w..|
|000012c0| ff bd ff ef db f3 ff ff | df 7b ff ff ff 55 56 7b |........|.{...UV{|
|000012d0| 7f df d7 ff 1b b7 ff f7 | 7f df ff fb 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 14 c0 42 4b 47 44 | 00 00 0a df 00 00 08 a8 |....BKGD|........|
|00001a90| 00 00 00 00 00 00 00 01 | 00 00 0a df 00 00 0a df |........|........|
|00001aa0| 00 0e 00 61 00 00 07 d4 | 00 00 00 00 00 00 00 e6 |...a....|........|
|00001ab0| 00 07 01 00 00 3d 00 97 | 00 53 00 ef a0 04 00 00 |.....=..|.S......|
|00001ac0| 00 00 00 01 00 00 00 0c | 00 00 00 10 53 65 74 20 |........|....Set |
|00001ad0| 54 6f 77 65 72 00 00 6f | 6e 20 6d 6f 75 73 65 55 |Tower..o|n mouseU|
|00001ae0| 70 0d 61 6e 73 77 65 72 | 20 22 44 69 73 6b 73 20 |p.answer| "Disks |
|00001af0| 6f 6e 20 77 68 69 63 68 | 20 70 6f 6c 65 3f 22 20 |on which| pole?" |
|00001b00| 77 69 74 68 20 22 4c 65 | 66 74 22 20 6f 72 20 22 |with "Le|ft" or "|
|00001b10| 43 65 6e 74 65 72 22 20 | 6f 72 20 22 52 69 67 68 |Center" |or "Righ|
|00001b20| 74 22 0d 69 66 20 69 74 | 20 3d 20 22 52 69 67 68 |t".if it| = "Righ|
|00001b30| 74 22 20 74 68 65 6e 0d | 73 65 74 54 6f 77 65 72 |t" then.|setTower|
|00001b40| 20 33 0d 65 6c 73 65 0d | 69 66 20 69 74 20 3d 20 | 3.else.|if it = |
|00001b50| 22 43 65 6e 74 65 72 22 | 20 74 68 65 6e 0d 73 65 |"Center"| then.se|
|00001b60| 74 54 6f 77 65 72 20 32 | 0d 65 6c 73 65 0d 73 65 |tTower 2|.else.se|
|00001b70| 74 54 6f 77 65 72 20 31 | 0d 65 6e 64 20 69 66 0d |tTower 1|.end if.|
|00001b80| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00001b90| 55 70 0d 00 00 ec 00 08 | 01 00 00 3d 00 f3 00 53 |Up......|...=...S|
|00001ba0| 01 4b a0 04 00 00 00 00 | 00 01 00 00 00 0c 00 00 |.K......|........|
|00001bb0| 00 10 4d 6f 76 65 20 54 | 6f 77 65 72 00 00 6f 6e |..Move T|ower..on|
|00001bc0| 20 6d 6f 75 73 65 55 70 | 0d 61 6e 73 77 65 72 20 | mouseUp|.answer |
|00001bd0| 22 4d 6f 76 65 20 74 6f | 20 77 68 69 63 68 20 70 |"Move to| which p|
|00001be0| 6f 6c 65 3f 22 20 77 69 | 74 68 20 22 4c 65 66 74 |ole?" wi|th "Left|
|00001bf0| 22 20 6f 72 20 22 43 65 | 6e 74 65 72 22 20 6f 72 |" or "Ce|nter" or|
|00001c00| 20 22 52 69 67 68 74 22 | 0d 69 66 20 69 74 20 3d | "Right"|.if it =|
|00001c10| 20 22 52 69 67 68 74 22 | 20 74 68 65 6e 0d 73 68 | "Right"| then.sh|
|00001c20| 69 66 74 54 6f 77 65 72 | 20 33 0d 65 6c 73 65 0d |iftTower| 3.else.|
|00001c30| 69 66 20 69 74 20 3d 20 | 22 43 65 6e 74 65 72 22 |if it = |"Center"|
|00001c40| 20 74 68 65 6e 0d 73 68 | 69 66 74 54 6f 77 65 72 | then.sh|iftTower|
|00001c50| 20 32 0d 65 6c 73 65 0d | 73 68 69 66 74 54 6f 77 | 2.else.|shiftTow|
|00001c60| 65 72 20 31 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |er 1.end| if.end |
|00001c70| 69 66 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |if.end m|ouseUp..|
|00001c80| 02 e6 00 09 01 00 00 18 | 00 69 00 39 01 97 a0 04 |........|.i.9....|
|00001c90| 00 00 00 00 00 01 00 03 | 00 12 08 00 00 18 54 6f |........|......To|
|00001ca0| 77 65 72 20 6f 66 20 48 | 61 6e 6f 69 00 00 6f 6e |wer of H|anoi..on|
|00001cb0| 20 6d 6f 75 73 65 55 70 | 0d 69 66 20 74 68 65 20 | mouseUp|.if the |
|00001cc0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001cd0| 66 69 65 6c 64 20 48 65 | 6c 70 20 69 73 20 74 72 |field He|lp is tr|
|00001ce0| 75 65 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |ue then.|set the |
|00001cf0| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001d00| 66 69 65 6c 64 20 22 48 | 65 6c 70 22 20 74 6f 20 |field "H|elp" to |
|00001d10| 66 61 6c 73 65 0d 65 6c | 73 65 0d 73 65 74 20 74 |false.el|se.set t|
|00001d20| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 63 61 |he visib|le of ca|
|00001d30| 72 64 20 66 69 65 6c 64 | 20 41 75 74 68 6f 72 20 |rd field| Author |
|00001d40| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00001d50| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00001d60| 62 75 74 74 6f 6e 20 4f | 4b 20 74 6f 20 74 72 75 |button O|K to tru|
|00001d70| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6d 6f 75 |e.end if|.end mou|
|00001d80| 73 65 55 70 0d 0d 2d 2d | 20 41 6e 73 77 65 72 73 |seUp..--| Answers|
|00001d90| 20 74 6f 20 74 68 65 20 | 71 75 65 73 74 69 6f 6e | to the |question|
|00001da0| 73 20 70 6f 73 65 64 20 | 69 6e 20 74 68 65 20 22 |s posed |in the "|
|00001db0| 48 65 6c 70 22 20 66 69 | 65 6c 64 3a 0d 2d 2d 20 |Help" fi|eld:.-- |
|00001dc0| 49 66 20 6e 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |If n is |the numb|
|00001dd0| 65 72 20 6f 66 20 64 69 | 73 6b 73 20 69 6e 20 74 |er of di|sks in t|
|00001de0| 68 65 20 73 74 61 63 6b | 2c 20 74 68 65 20 6d 61 |he stack|, the ma|
|00001df0| 78 69 6d 75 6d 20 64 65 | 70 74 68 20 6f 66 0d 2d |ximum de|pth of.-|
|00001e00| 2d 20 72 65 63 75 72 73 | 69 6f 6e 20 69 73 20 6e |- recurs|ion is n|
|00001e10| 2c 20 61 6e 64 20 74 68 | 65 20 74 6f 74 61 6c 20 |, and th|e total |
|00001e20| 6e 75 6d 62 65 72 20 6f | 66 20 6d 6f 76 65 73 20 |number o|f moves |
|00001e30| 69 73 20 32 5e 6e 20 2d | 20 31 2e 0d 2d 2d 20 42 |is 2^n -| 1..-- B|
|00001e40| 79 20 74 68 65 20 77 61 | 79 2c 20 74 68 69 73 20 |y the wa|y, this |
|00001e50| 6d 65 61 6e 73 20 74 68 | 61 74 20 74 68 65 20 54 |means th|at the T|
|00001e60| 69 62 65 74 61 6e 20 6d | 6f 6e 6b 73 20 68 61 76 |ibetan m|onks hav|
|00001e70| 65 20 74 68 65 69 72 20 | 77 6f 72 6b 20 63 75 74 |e their |work cut|
|00001e80| 0d 2d 2d 20 6f 75 74 20 | 66 6f 72 20 74 68 65 6d |.-- out |for them|
|00001e90| 20 77 69 74 68 20 61 20 | 73 74 61 63 6b 20 6f 66 | with a |stack of|
|00001ea0| 20 31 30 30 20 64 69 73 | 6b 73 2e 20 20 45 76 65 | 100 dis|ks. Eve|
|00001eb0| 6e 20 69 66 20 74 68 65 | 79 20 77 65 72 65 20 75 |n if the|y were u|
|00001ec0| 73 69 6e 67 0d 2d 2d 20 | 61 20 43 72 61 79 20 73 |sing.-- |a Cray s|
|00001ed0| 75 70 65 72 63 6f 6d 70 | 75 74 65 72 2c 20 61 6e |upercomp|uter, an|
|00001ee0| 64 20 63 6f 75 6c 64 20 | 6d 61 6b 65 20 6f 6e 65 |d could |make one|
|00001ef0| 20 6d 6f 76 65 20 70 65 | 72 20 6e 61 6e 6f 73 65 | move pe|r nanose|
|00001f00| 63 6f 6e 64 2c 0d 2d 2d | 20 63 6f 6d 70 6c 65 74 |cond,.--| complet|
|00001f10| 69 6f 6e 20 6f 66 20 74 | 68 65 20 74 61 73 6b 20 |ion of t|he task |
|00001f20| 77 6f 75 6c 64 20 73 74 | 69 6c 6c 20 74 61 6b 65 |would st|ill take|
|00001f30| 20 61 62 6f 75 74 20 33 | 30 30 30 20 74 69 6d 65 | about 3|000 time|
|00001f40| 73 20 74 68 65 0d 2d 2d | 20 70 72 65 73 65 6e 74 |s the.--| present|
|00001f50| 20 61 67 65 20 6f 66 20 | 74 68 65 20 75 6e 69 76 | age of |the univ|
|00001f60| 65 72 73 65 2e 00 00 82 | 00 12 01 00 01 3b 00 7e |erse....|.....;.~|
|00001f70| 01 53 00 a1 00 01 00 00 | 61 aa 00 01 00 00 00 0c |.S......|a.......|
|00001f80| 00 00 00 10 48 65 6c 70 | 00 00 6f 6e 20 6d 6f 75 |....Help|..on mou|
|00001f90| 73 65 55 70 0d 73 65 74 | 20 74 68 65 20 76 69 73 |seUp.set| the vis|
|00001fa0| 69 62 6c 65 20 6f 66 20 | 63 61 72 64 20 66 69 65 |ible of |card fie|
|00001fb0| 6c 64 20 48 65 6c 70 20 | 74 6f 20 6e 6f 74 20 76 |ld Help |to not v|
|00001fc0| 69 73 69 62 6c 65 20 6f | 66 20 63 61 72 64 20 66 |isible o|f card f|
|00001fd0| 69 65 6c 64 20 48 65 6c | 70 0d 65 6e 64 20 6d 6f |ield Hel|p.end mo|
|00001fe0| 75 73 65 55 70 0d 00 00 | 00 2c 00 31 02 01 01 28 |useUp...|.,.1...(|
|00001ff0| 00 72 01 37 00 e5 00 01 | 00 00 00 00 ff ff 00 02 |.r.7....|........|
|00002000| 00 0a 00 00 00 0d 64 65 | 70 74 68 4c 61 62 65 6c |......de|pthLabel|
|00002010| 00 00 00 00 00 26 00 32 | 02 01 01 28 00 e5 01 37 |.....&.2|...(...7|
|00002020| 00 fe 00 02 00 00 00 00 | 00 01 00 02 00 0a 00 00 |........|........|
|00002030| 00 0d 64 65 70 74 68 00 | 00 00 00 26 00 34 02 01 |..depth.|...&.4..|
|00002040| 01 28 01 02 01 37 01 1b | 00 02 00 00 00 00 00 01 |.(...7..|........|
|00002050| 00 02 00 0a 00 00 00 0d | 6d 6f 76 65 73 00 00 00 |........|moves...|
|00002060| 00 2a 00 35 02 01 01 28 | 01 1b 01 37 01 8e 00 01 |.*.5...(|...7....|
|00002070| 00 00 00 00 00 00 00 02 | 00 0a 00 00 00 0d 6d 6f |........|......mo|
|00002080| 76 65 4c 61 62 65 6c 00 | 00 00 00 f8 00 3c 01 00 |veLabel.|.....<..|
|00002090| 00 3d 00 3b 00 53 00 93 | a0 04 00 00 00 00 00 01 |.=.;.S..|........|
|000020a0| 00 00 00 0c 00 00 00 10 | 4d 61 6b 65 20 54 6f 77 |........|Make Tow|
|000020b0| 65 72 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |er..on m|ouseUp.g|
|000020c0| 6c 6f 62 61 6c 20 6d 61 | 78 44 69 73 6b 73 0d 67 |lobal ma|xDisks.g|
|000020d0| 65 74 20 2d 31 0d 72 65 | 70 65 61 74 20 77 68 69 |et -1.re|peat whi|
|000020e0| 6c 65 20 69 74 20 3c 20 | 30 20 6f 72 20 69 74 20 |le it < |0 or it |
|000020f0| 3e 20 6d 61 78 44 69 73 | 6b 73 0d 61 73 6b 20 22 |> maxDis|ks.ask "|
|00002100| 48 6f 77 20 6d 61 6e 79 | 20 64 69 73 6b 73 20 28 |How many| disks (|
|00002110| 30 20 2d 22 20 26 26 20 | 6d 61 78 44 69 73 6b 73 |0 -" && |maxDisks|
|00002120| 20 26 20 22 29 3f 22 0d | 69 66 20 69 74 20 69 73 | & ")?".|if it is|
|00002130| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00002140| 20 6d 6f 75 73 65 55 70 | 0d 67 65 74 20 72 6f 75 | mouseUp|.get rou|
|00002150| 6e 64 28 20 69 74 20 29 | 0d 65 6e 64 20 72 65 70 |nd( it )|.end rep|
|00002160| 65 61 74 0d 6d 61 6b 65 | 54 6f 77 65 72 20 69 74 |eat.make|Tower it|
|00002170| 2c 20 31 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |, 1.end |mouseUp.|
|00002180| 00 00 00 60 00 3d 01 00 | 00 3d 01 4f 00 53 01 c5 |...`.=..|.=.O.S..|
|00002190| a0 04 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|000021a0| 53 65 65 20 41 6c 67 6f | 72 69 74 68 6d 00 00 6f |See Algo|rithm..o|
|000021b0| 6e 20 6d 6f 75 73 65 55 | 70 0d 65 64 69 74 20 73 |n mouseU|p.edit s|
|000021c0| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 73 74 |cript of| this st|
|000021d0| 61 63 6b 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ack.end |mouseUp.|
|000021e0| 00 00 00 28 00 55 01 00 | 00 c8 00 e2 00 dc 01 1e |...(.U..|........|
|000021f0| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00002200| 44 69 73 6b 20 31 00 00 | 00 00 00 28 00 5f 01 00 |Disk 1..|...(._..|
|00002210| 00 dc 00 dd 00 f0 01 23 | 80 03 00 00 00 00 00 01 |.......#|........|
|00002220| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 32 00 00 |........|Disk 2..|
|00002230| 00 00 00 28 00 60 01 00 | 00 f0 00 d8 01 04 01 28 |...(.`..|.......(|
|00002240| 80 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00002250| 44 69 73 6b 20 33 00 00 | 00 00 00 28 00 61 01 00 |Disk 3..|...(.a..|
|00002260| 00 f0 00 3d 01 04 00 97 | 80 03 00 00 00 00 00 01 |...=....|........|
|00002270| 00 00 00 0c 00 00 00 10 | 44 69 73 6b 20 34 00 00 |........|Disk 4..|
|00002280| 00 00 00 2d 2d 20 43 6f | 70 79 72 69 67 68 74 20 |...-- Co|pyright |
|00002290| a9 20 31 39 38 38 20 43 | 69 6e 63 69 6e 6e 61 74 |. 1988 C|incinnat|
|000022a0| 69 20 43 6f 75 6e 74 72 | 79 20 44 61 79 20 53 63 |i Countr|y Day Sc|
|000022b0| 68 6f 6f 6c 2e 20 20 41 | 6c 6c 20 72 69 67 68 74 |hool. A|ll right|
|000022c0| 73 20 72 65 73 65 72 76 | 65 64 2e 0d 0d 2d 2d 20 |s reserv|ed...-- |
|000022d0| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |For info|rmation,|
|000022e0| 20 63 6f 6e 74 61 63 74 | 20 4a 6f 73 65 70 68 20 | contact| Joseph |
|000022f0| 46 2e 20 48 6f 66 6d 65 | 69 73 74 65 72 2c 20 43 |F. Hofme|ister, C|
|00002300| 6f 6d 70 75 74 65 72 20 | 43 6f 6f 72 64 69 6e 61 |omputer |Coordina|
|00002310| 74 6f 72 0d 2d 2d 20 54 | 68 65 20 48 79 70 65 72 |tor.-- T|he Hyper|
|00002320| 53 63 68 6f 6f 6c 2c 20 | 43 69 6e 63 69 6e 6e 61 |School, |Cincinna|
|00002330| 74 69 20 43 6f 75 6e 74 | 72 79 20 44 61 79 20 53 |ti Count|ry Day S|
|00002340| 63 68 6f 6f 6c 0d 2d 2d | 20 36 39 30 35 20 47 69 |chool.--| 6905 Gi|
|00002350| 76 65 6e 20 52 6f 61 64 | 2c 20 43 69 6e 63 69 6e |ven Road|, Cincin|
|00002360| 6e 61 74 69 2c 20 4f 68 | 69 6f 20 34 35 32 34 33 |nati, Oh|io 45243|
|00002370| 0d 2d 2d 20 54 65 6c 65 | 70 68 6f 6e 65 20 35 31 |.-- Tele|phone 51|
|00002380| 33 2d 35 36 31 2d 37 32 | 39 38 20 20 41 70 70 6c |3-561-72|98 Appl|
|00002390| 65 4c 69 6e 6b 20 4b 30 | 31 39 37 0d 0d 6f 6e 20 |eLink K0|197..on |
|000023a0| 6f 70 65 6e 53 74 61 63 | 6b 0d 69 66 20 74 68 65 |openStac|k.if the|
|000023b0| 20 76 65 72 73 69 6f 6e | 20 3c 20 31 2e 32 20 74 | version| < 1.2 t|
|000023c0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 69 73 |hen.answ|er "This|
|000023d0| 20 73 74 61 63 6b 20 6e | 65 65 64 73 20 48 79 70 | stack n|eeds Hyp|
|000023e0| 65 72 43 61 72 64 20 76 | 65 72 73 69 6f 6e 20 31 |erCard v|ersion 1|
|000023f0| 2e 32 2e 22 0d 73 65 74 | 20 6c 6f 63 6b 4d 65 73 |.2.".set| lockMes|
|00002400| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 64 6f |sages to| true.do|
|00002410| 6d 65 6e 75 20 68 6f 6d | 65 0d 65 6c 73 65 0d 68 |menu hom|e.else.h|
|00002420| 69 64 65 20 6d 65 73 73 | 61 67 65 0d 72 65 73 65 |ide mess|age.rese|
|00002430| 74 20 70 61 69 6e 74 0d | 69 6e 69 74 54 6f 77 65 |t paint.|initTowe|
|00002440| 72 0d 73 65 74 54 6f 77 | 65 72 20 32 0d 65 6e 64 |r.setTow|er 2.end|
|00002450| 20 69 66 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 | if.end |openStac|
|00002460| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|00002470| 0d 72 65 73 65 74 20 70 | 61 69 6e 74 0d 65 6e 64 |.reset p|aint.end|
|00002480| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 0d 6f 6e 20 | closeSt|ack..on |
|00002490| 69 6e 69 74 54 6f 77 65 | 72 0d 67 6c 6f 62 61 6c |initTowe|r.global|
|000024a0| 20 6d 61 78 44 69 73 6b | 73 2c 20 6e 44 69 73 6b | maxDisk|s, nDisk|
|000024b0| 73 2c 20 79 42 61 73 65 | 2c 20 64 48 65 69 67 68 |s, yBase|, dHeigh|
|000024c0| 74 2c 20 78 50 6f 6c 65 | 2c 20 70 6f 6c 65 54 6f |t, xPole|, poleTo|
|000024d0| 70 0d 70 75 74 20 37 20 | 69 6e 74 6f 20 6d 61 78 |p.put 7 |into max|
|000024e0| 44 69 73 6b 73 0d 70 75 | 74 20 74 68 65 20 6e 75 |Disks.pu|t the nu|
|000024f0| 6d 62 65 72 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |mber of |bkgnd bu|
|00002500| 74 74 6f 6e 73 20 2d 20 | 37 20 69 6e 74 6f 20 6e |ttons - |7 into n|
|00002510| 44 69 73 6b 73 0d 70 75 | 74 20 32 35 30 20 69 6e |Disks.pu|t 250 in|
|00002520| 74 6f 20 79 42 61 73 65 | 0d 70 75 74 20 32 30 20 |to yBase|.put 20 |
|00002530| 69 6e 74 6f 20 64 48 65 | 69 67 68 74 0d 70 75 74 |into dHe|ight.put|
|00002540| 20 22 30 2c 30 2c 30 22 | 20 69 6e 74 6f 20 78 50 | "0,0,0"| into xP|
|00002550| 6f 6c 65 0d 67 65 74 20 | 72 6f 75 6e 64 28 20 77 |ole.get |round( w|
|00002560| 69 64 74 68 20 6f 66 20 | 63 61 72 64 20 77 69 6e |idth of |card win|
|00002570| 64 6f 77 20 2f 20 32 20 | 29 0d 70 75 74 20 69 74 |dow / 2 |).put it|
|00002580| 20 2d 20 31 35 30 20 69 | 6e 74 6f 20 69 74 65 6d | - 150 i|nto item|
|00002590| 20 31 20 6f 66 20 78 50 | 6f 6c 65 0d 70 75 74 20 | 1 of xP|ole.put |
|000025a0| 69 74 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |it into |item 2 o|
|000025b0| 66 20 78 50 6f 6c 65 0d | 70 75 74 20 69 74 20 2b |f xPole.|put it +|
|000025c0| 20 31 35 30 20 69 6e 74 | 6f 20 69 74 65 6d 20 33 | 150 int|o item 3|
|000025d0| 20 6f 66 20 78 50 6f 6c | 65 0d 70 75 74 20 79 42 | of xPol|e.put yB|
|000025e0| 61 73 65 20 2d 20 72 6f | 75 6e 64 28 20 37 2e 35 |ase - ro|und( 7.5|
|000025f0| 20 2a 20 64 48 65 69 67 | 68 74 20 29 20 2d 20 34 | * dHeig|ht ) - 4|
|00002600| 20 69 6e 74 6f 20 70 6f | 6c 65 54 6f 70 0d 65 6e | into po|leTop.en|
|00002610| 64 20 69 6e 69 74 54 6f | 77 65 72 0d 0d 6f 6e 20 |d initTo|wer..on |
|00002620| 6d 61 6b 65 42 61 73 65 | 0d 67 6c 6f 62 61 6c 20 |makeBase|.global |
|00002630| 79 42 61 73 65 2c 20 64 | 48 65 69 67 68 74 2c 20 |yBase, d|Height, |
|00002640| 78 50 6f 6c 65 2c 20 70 | 6f 6c 65 54 6f 70 0d 73 |xPole, p|oleTop.s|
|00002650| 65 74 20 74 68 65 20 65 | 64 69 74 42 6b 67 6e 64 |et the e|ditBkgnd|
|00002660| 20 74 6f 20 74 72 75 65 | 0d 63 68 6f 6f 73 65 20 | to true|.choose |
|00002670| 73 65 6c 65 63 74 20 74 | 6f 6f 6c 0d 64 72 61 67 |select t|ool.drag|
|00002680| 20 66 72 6f 6d 20 30 2c | 30 20 74 6f 20 77 69 64 | from 0,|0 to wid|
|00002690| 74 68 20 6f 66 20 63 61 | 72 64 20 77 69 6e 64 6f |th of ca|rd windo|
|000026a0| 77 2c 20 68 65 69 67 68 | 74 20 6f 66 20 63 61 72 |w, heigh|t of car|
|000026b0| 64 20 77 69 6e 64 6f 77 | 0d 64 6f 4d 65 6e 75 20 |d window|.doMenu |
|000026c0| 22 43 6c 65 61 72 20 50 | 69 63 74 75 72 65 22 0d |"Clear P|icture".|
|000026d0| 63 68 6f 6f 73 65 20 72 | 6f 75 6e 64 20 72 65 63 |choose r|ound rec|
|000026e0| 74 20 74 6f 6f 6c 0d 73 | 65 74 20 74 68 65 20 66 |t tool.s|et the f|
|000026f0| 69 6c 6c 65 64 20 74 6f | 20 74 72 75 65 0d 73 65 |illed to| true.se|
|00002700| 74 20 74 68 65 20 70 61 | 74 74 65 72 6e 20 74 6f |t the pa|ttern to|
|00002710| 20 32 32 0d 70 75 74 20 | 70 6f 6c 65 54 6f 70 20 | 22.put |poleTop |
|00002720| 2b 20 34 20 2b 20 72 6f | 75 6e 64 28 20 64 48 65 |+ 4 + ro|und( dHe|
|00002730| 69 67 68 74 20 2f 20 32 | 20 29 20 69 6e 74 6f 20 |ight / 2| ) into |
|00002740| 74 0d 70 75 74 20 79 42 | 61 73 65 20 2b 20 64 48 |t.put yB|ase + dH|
|00002750| 65 69 67 68 74 20 69 6e | 74 6f 20 62 0d 72 65 70 |eight in|to b.rep|
|00002760| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00002770| 6f 20 33 0d 67 65 74 20 | 69 74 65 6d 20 69 20 6f |o 3.get |item i o|
|00002780| 66 20 78 50 6f 6c 65 0d | 64 72 61 67 20 66 72 6f |f xPole.|drag fro|
|00002790| 6d 20 69 74 20 2d 20 35 | 2c 20 74 20 74 6f 20 69 |m it - 5|, t to i|
|000027a0| 74 20 2b 20 35 2c 20 62 | 0d 65 6e 64 20 72 65 70 |t + 5, b|.end rep|
|000027b0| 65 61 74 0d 73 65 74 20 | 74 68 65 20 70 61 74 74 |eat.set |the patt|
|000027c0| 65 72 6e 20 74 6f 20 32 | 30 0d 67 65 74 20 79 42 |ern to 2|0.get yB|
|000027d0| 61 73 65 20 2b 20 72 6f | 75 6e 64 28 20 64 48 65 |ase + ro|und( dHe|
|000027e0| 69 67 68 74 20 2f 20 32 | 20 29 0d 64 72 61 67 20 |ight / 2| ).drag |
|000027f0| 66 72 6f 6d 20 69 74 65 | 6d 20 31 20 6f 66 20 78 |from ite|m 1 of x|
|00002800| 50 6f 6c 65 20 2d 20 39 | 30 2c 20 69 74 20 74 6f |Pole - 9|0, it to|
|00002810| c2 0d 69 74 65 6d 20 33 | 20 6f 66 20 78 50 6f 6c |..item 3| of xPol|
|00002820| 65 20 2b 20 39 30 2c 20 | 69 74 20 2b 20 72 6f 75 |e + 90, |it + rou|
|00002830| 6e 64 28 20 31 2e 35 20 | 2a 20 64 48 65 69 67 68 |nd( 1.5 |* dHeigh|
|00002840| 74 20 29 0d 72 65 73 65 | 74 20 70 61 69 6e 74 0d |t ).rese|t paint.|
|00002850| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|00002860| 6f 6c 0d 65 6e 64 20 6d | 61 6b 65 42 61 73 65 0d |ol.end m|akeBase.|
|00002870| 0d 6f 6e 20 64 65 6c 65 | 74 65 54 6f 77 65 72 0d |.on dele|teTower.|
|00002880| 67 6c 6f 62 61 6c 20 6e | 44 69 73 6b 73 0d 63 68 |global n|Disks.ch|
|00002890| 6f 6f 73 65 20 62 75 74 | 74 6f 6e 20 74 6f 6f 6c |oose but|ton tool|
|000028a0| 0d 73 65 74 20 74 68 65 | 20 65 64 69 74 42 6b 67 |.set the| editBkg|
|000028b0| 6e 64 20 74 6f 20 74 72 | 75 65 0d 72 65 70 65 61 |nd to tr|ue.repea|
|000028c0| 74 20 77 69 74 68 20 69 | 20 3d 20 74 68 65 20 6e |t with i| = the n|
|000028d0| 75 6d 62 65 72 20 6f 66 | 20 62 6b 67 6e 64 20 62 |umber of| bkgnd b|
|000028e0| 75 74 74 6f 6e 73 20 64 | 6f 77 6e 20 74 6f 20 38 |uttons d|own to 8|
|000028f0| 0d 69 66 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |.if the |name of |
|00002900| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 69 20 63 |bkgnd bu|tton i c|
|00002910| 6f 6e 74 61 69 6e 73 20 | 22 44 69 73 6b 22 20 74 |ontains |"Disk" t|
|00002920| 68 65 6e 0d 63 6c 69 63 | 6b 20 61 74 20 74 68 65 |hen.clic|k at the|
|00002930| 20 6c 6f 63 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 | loc of |bkgnd bu|
|00002940| 74 74 6f 6e 20 69 0d 64 | 6f 4d 65 6e 75 20 22 43 |tton i.d|oMenu "C|
|00002950| 6c 65 61 72 20 42 75 74 | 74 6f 6e 22 0d 65 6e 64 |lear But|ton".end|
|00002960| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 | if.end |repeat.c|
|00002970| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00002980| 6c 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 6e 44 69 |l.put 0 |into nDi|
|00002990| 73 6b 73 0d 65 6e 64 20 | 64 65 6c 65 74 65 54 6f |sks.end |deleteTo|
|000029a0| 77 65 72 0d 0d 6f 6e 20 | 6d 61 6b 65 54 6f 77 65 |wer..on |makeTowe|
|000029b0| 72 20 68 65 69 67 68 74 | 2c 20 64 65 73 74 0d 67 |r height|, dest.g|
|000029c0| 6c 6f 62 61 6c 20 6e 44 | 69 73 6b 73 2c 20 79 42 |lobal nD|isks, yB|
|000029d0| 61 73 65 2c 20 64 48 65 | 69 67 68 74 2c 20 78 50 |ase, dHe|ight, xP|
|000029e0| 6f 6c 65 0d 67 6c 6f 62 | 61 6c 20 66 69 72 73 74 |ole.glob|al first|
|000029f0| 50 6f 6c 65 2c 20 73 74 | 61 63 6b 48 65 69 67 68 |Pole, st|ackHeigh|
|00002a00| 74 0d 64 65 6c 65 74 65 | 54 6f 77 65 72 0d 73 65 |t.delete|Tower.se|
|00002a10| 74 20 74 68 65 20 65 64 | 69 74 42 6b 67 6e 64 20 |t the ed|itBkgnd |
|00002a20| 74 6f 20 74 72 75 65 0d | 70 75 74 20 68 65 69 67 |to true.|put heig|
|00002a30| 68 74 20 69 6e 74 6f 20 | 6e 44 69 73 6b 73 0d 70 |ht into |nDisks.p|
|00002a40| 75 74 20 64 65 73 74 20 | 69 6e 74 6f 20 66 69 72 |ut dest |into fir|
|00002a50| 73 74 50 6f 6c 65 0d 70 | 75 74 20 22 30 2c 30 2c |stPole.p|ut "0,0,|
|00002a60| 30 22 20 69 6e 74 6f 20 | 73 74 61 63 6b 48 65 69 |0" into |stackHei|
|00002a70| 67 68 74 0d 70 75 74 20 | 6e 44 69 73 6b 73 20 69 |ght.put |nDisks i|
|00002a80| 6e 74 6f 20 69 74 65 6d | 20 66 69 72 73 74 50 6f |nto item| firstPo|
|00002a90| 6c 65 20 6f 66 20 73 74 | 61 63 6b 48 65 69 67 68 |le of st|ackHeigh|
|00002aa0| 74 0d 70 75 74 20 69 74 | 65 6d 20 66 69 72 73 74 |t.put it|em first|
|00002ab0| 50 6f 6c 65 20 6f 66 20 | 78 50 6f 6c 65 20 69 6e |Pole of |xPole in|
|00002ac0| 74 6f 20 74 68 69 73 50 | 6f 6c 65 0d 70 75 74 20 |to thisP|ole.put |
|00002ad0| 79 42 61 73 65 20 2d 20 | 64 48 65 69 67 68 74 20 |yBase - |dHeight |
|00002ae0| 2a 20 28 20 6e 44 69 73 | 6b 73 20 2d 20 31 20 29 |* ( nDis|ks - 1 )|
|00002af0| 20 69 6e 74 6f 20 79 44 | 69 73 6b 0d 70 75 74 20 | into yD|isk.put |
|00002b00| 36 30 20 69 6e 74 6f 20 | 64 57 69 64 74 68 0d 72 |60 into |dWidth.r|
|00002b10| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00002b20| 20 74 6f 20 6e 44 69 73 | 6b 73 0d 64 6f 4d 65 6e | to nDis|ks.doMen|
|00002b30| 75 20 22 4e 65 77 20 42 | 75 74 74 6f 6e 22 0d 67 |u "New B|utton".g|
|00002b40| 65 74 20 22 44 69 73 6b | 22 20 26 26 20 69 0d 73 |et "Disk|" && i.s|
|00002b50| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 62 |et the n|ame of b|
|00002b60| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 22 4e 65 77 |kgnd but|ton "New|
|00002b70| 20 42 75 74 74 6f 6e 22 | 20 74 6f 20 69 74 0d 73 | Button"| to it.s|
|00002b80| 65 74 20 74 68 65 20 77 | 69 64 74 68 20 6f 66 20 |et the w|idth of |
|00002b90| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 69 74 20 |bkgnd bu|tton it |
|00002ba0| 74 6f 20 64 57 69 64 74 | 68 0d 73 65 74 20 74 68 |to dWidt|h.set th|
|00002bb0| 65 20 68 65 69 67 68 74 | 20 6f 66 20 62 6b 67 6e |e height| of bkgn|
|00002bc0| 64 20 62 75 74 74 6f 6e | 20 69 74 20 74 6f 20 64 |d button| it to d|
|00002bd0| 48 65 69 67 68 74 0d 73 | 65 74 20 74 68 65 20 6c |Height.s|et the l|
|00002be0| 6f 63 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |oc of bk|gnd butt|
|00002bf0| 6f 6e 20 69 74 20 74 6f | 20 74 68 69 73 50 6f 6c |on it to| thisPol|
|00002c00| 65 2c 20 79 44 69 73 6b | 0d 61 64 64 20 31 30 20 |e, yDisk|.add 10 |
|00002c10| 74 6f 20 64 57 69 64 74 | 68 0d 61 64 64 20 64 48 |to dWidt|h.add dH|
|00002c20| 65 69 67 68 74 20 74 6f | 20 79 44 69 73 6b 0d 65 |eight to| yDisk.e|
|00002c30| 6e 64 20 72 65 70 65 61 | 74 0d 63 68 6f 6f 73 65 |nd repea|t.choose|
|00002c40| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 70 75 74 | browse |tool.put|
|00002c50| 20 30 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 64 65 | 0 into |field de|
|00002c60| 70 74 68 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 66 |pth.put |0 into f|
|00002c70| 69 65 6c 64 20 6d 6f 76 | 65 73 0d 65 6e 64 20 6d |ield mov|es.end m|
|00002c80| 61 6b 65 54 6f 77 65 72 | 0d 0d 6f 6e 20 73 65 74 |akeTower|..on set|
|00002c90| 54 6f 77 65 72 20 64 65 | 73 74 0d 67 6c 6f 62 61 |Tower de|st.globa|
|00002ca0| 6c 20 6e 44 69 73 6b 73 | 2c 20 79 42 61 73 65 2c |l nDisks|, yBase,|
|00002cb0| 20 64 48 65 69 67 68 74 | 2c 20 78 50 6f 6c 65 0d | dHeight|, xPole.|
|00002cc0| 67 6c 6f 62 61 6c 20 66 | 69 72 73 74 50 6f 6c 65 |global f|irstPole|
|00002cd0| 2c 20 73 74 61 63 6b 48 | 65 69 67 68 74 0d 70 75 |, stackH|eight.pu|
|00002ce0| 74 20 64 65 73 74 20 69 | 6e 74 6f 20 66 69 72 73 |t dest i|nto firs|
|00002cf0| 74 50 6f 6c 65 0d 70 75 | 74 20 22 30 2c 30 2c 30 |tPole.pu|t "0,0,0|
|00002d00| 22 20 69 6e 74 6f 20 73 | 74 61 63 6b 48 65 69 67 |" into s|tackHeig|
|00002d10| 68 74 0d 70 75 74 20 6e | 44 69 73 6b 73 20 69 6e |ht.put n|Disks in|
|00002d20| 74 6f 20 69 74 65 6d 20 | 66 69 72 73 74 50 6f 6c |to item |firstPol|
|00002d30| 65 20 6f 66 20 73 74 61 | 63 6b 48 65 69 67 68 74 |e of sta|ckHeight|
|00002d40| 0d 70 75 74 20 69 74 65 | 6d 20 66 69 72 73 74 50 |.put ite|m firstP|
|00002d50| 6f 6c 65 20 6f 66 20 78 | 50 6f 6c 65 20 69 6e 74 |ole of x|Pole int|
|00002d60| 6f 20 74 68 69 73 50 6f | 6c 65 0d 70 75 74 20 79 |o thisPo|le.put y|
|00002d70| 42 61 73 65 20 2d 20 64 | 48 65 69 67 68 74 20 2a |Base - d|Height *|
|00002d80| 20 28 20 6e 44 69 73 6b | 73 20 2d 20 31 20 29 20 | ( nDisk|s - 1 ) |
|00002d90| 69 6e 74 6f 20 79 44 69 | 73 6b 0d 72 65 70 65 61 |into yDi|sk.repea|
|00002da0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00002db0| 6e 44 69 73 6b 73 0d 67 | 65 74 20 22 44 69 73 6b |nDisks.g|et "Disk|
|00002dc0| 22 20 26 26 20 69 0d 73 | 65 74 20 74 68 65 20 6c |" && i.s|et the l|
|00002dd0| 6f 63 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |oc of bk|gnd butt|
|00002de0| 6f 6e 20 69 74 20 74 6f | 20 74 68 69 73 50 6f 6c |on it to| thisPol|
|00002df0| 65 2c 20 79 44 69 73 6b | 0d 61 64 64 20 64 48 65 |e, yDisk|.add dHe|
|00002e00| 69 67 68 74 20 74 6f 20 | 79 44 69 73 6b 0d 65 6e |ight to |yDisk.en|
|00002e10| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 30 20 69 |d repeat|.put 0 i|
|00002e20| 6e 74 6f 20 66 69 65 6c | 64 20 64 65 70 74 68 0d |nto fiel|d depth.|
|00002e30| 70 75 74 20 30 20 69 6e | 74 6f 20 66 69 65 6c 64 |put 0 in|to field|
|00002e40| 20 6d 6f 76 65 73 0d 65 | 6e 64 20 73 65 74 54 6f | moves.e|nd setTo|
|00002e50| 77 65 72 0d 0d 6f 6e 20 | 73 68 69 66 74 54 6f 77 |wer..on |shiftTow|
|00002e60| 65 72 20 64 65 73 74 0d | 67 6c 6f 62 61 6c 20 6e |er dest.|global n|
|00002e70| 44 69 73 6b 73 2c 20 66 | 69 72 73 74 50 6f 6c 65 |Disks, f|irstPole|
|00002e80| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 66 69 65 6c |.put 0 i|nto fiel|
|00002e90| 64 20 64 65 70 74 68 0d | 70 75 74 20 30 20 69 6e |d depth.|put 0 in|
|00002ea0| 74 6f 20 66 69 65 6c 64 | 20 6d 6f 76 65 73 0d 63 |to field| moves.c|
|00002eb0| 68 6f 6f 73 65 20 62 75 | 74 74 6f 6e 20 74 6f 6f |hoose bu|tton too|
|00002ec0| 6c 0d 6d 6f 76 65 54 6f | 77 65 72 20 6e 44 69 73 |l.moveTo|wer nDis|
|00002ed0| 6b 73 2c 20 66 69 72 73 | 74 50 6f 6c 65 2c 20 64 |ks, firs|tPole, d|
|00002ee0| 65 73 74 2c 20 36 20 2d | 20 66 69 72 73 74 50 6f |est, 6 -| firstPo|
|00002ef0| 6c 65 20 2d 20 64 65 73 | 74 0d 70 75 74 20 64 65 |le - des|t.put de|
|00002f00| 73 74 20 69 6e 74 6f 20 | 66 69 72 73 74 50 6f 6c |st into |firstPol|
|00002f10| 65 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |e.choose| browse |
|00002f20| 74 6f 6f 6c 0d 65 6e 64 | 20 73 68 69 66 74 54 6f |tool.end| shiftTo|
|00002f30| 77 65 72 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |wer.....|........|
|00002f40| 00 00 01 00 42 4d 41 50 | 00 00 08 a8 00 00 00 00 |....BMAP|........|
|00002f50| 00 01 00 00 00 00 00 00 | 01 56 02 00 00 00 00 00 |........|.V......|
|00002f60| 01 56 02 00 00 6e 00 10 | 01 23 01 f1 00 00 00 00 |.V...n..|.#......|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 bc 1d 70 e1 21 |........|.....p.!|
|00002f80| 01 c0 e1 11 07 0d 2c 01 | dc e1 21 07 70 e1 21 1d |......,.|..!.p.!.|
|00002f90| c0 0c 2c 01 ac e1 21 06 | b0 e1 21 1a c0 0c 2c 03 |..,...!.|..!...,.|
|00002fa0| 56 e1 21 0d 58 e1 21 35 | 60 0c 2c 02 aa e1 21 0a |V.!.X.!5|`.,...!.|
|00002fb0| a8 e1 21 2a a0 0c 2c 05 | 55 e1 21 15 54 e1 21 55 |..!*..,.|U.!.T.!U|
|00002fc0| 50 0c 2c 06 ab e1 21 1a | ac e1 21 6a b0 0c bf 86 |P.,...!.|..!j....|
|00002fd0| bf 86 bf 86 bf 86 b3 86 | 8c 12 02 e3 1a 10 02 8f |........|........|
|00002fe0| 22 0d d0 e3 39 05 d8 00 | 22 17 60 e3 39 03 74 00 |"...9...|".`.9.t.|
|00002ff0| 8b 12 30 e3 1a 06 02 12 | 60 e3 1a 03 02 12 60 e3 |..0.....|`.....`.|
|00003000| 1a 03 02 12 80 e3 2b 80 | 00 12 80 e3 2b 80 00 b1 |......+.|....+...|
|00003010| 86 12 80 e3 2b 80 00 12 | 80 e3 2b 80 00 12 60 e3 |....+...|..+...`.|
|00003020| 1a 03 02 12 60 e3 1a 03 | 02 12 30 e3 1a 06 02 8c |....`...|..0.....|
|00003030| 12 02 e3 1a 10 02 f1 58 | 16 0a 00 00 fb 33 11 00 |.......X|.....3..|
|00003040| 00 00 0b a0 43 41 52 44 | 00 00 0b e3 00 00 00 00 |....CARD|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0d 4c |........|.......L|
|00003060| 00 00 0a df 00 04 00 0e | 00 00 01 a0 00 06 00 00 |........|........|
|00003070| 09 af 00 28 00 0b 02 81 | 00 3d 00 3b 00 da 01 c6 |...(....|.=.;....|
|00003080| 20 04 00 00 00 00 00 00 | 00 02 00 0a 00 00 00 0d | .......|........|
|00003090| 41 75 74 68 6f 72 00 00 | 00 00 00 94 00 0c 01 80 |Author..|........|
|000030a0| 00 bd 01 7a 00 d3 01 be | 80 03 00 00 00 00 00 01 |...z....|........|
|000030b0| 00 00 00 0c 00 00 00 10 | 4f 4b 00 00 6f 6e 20 6d |........|OK..on m|
|000030c0| 6f 75 73 65 55 70 0d 73 | 65 74 20 74 68 65 20 76 |ouseUp.s|et the v|
|000030d0| 69 73 69 62 6c 65 20 6f | 66 20 63 61 72 64 20 62 |isible o|f card b|
|000030e0| 75 74 74 6f 6e 20 4f 4b | 20 74 6f 20 66 61 6c 73 |utton OK| to fals|
|000030f0| 65 0d 73 65 74 20 74 68 | 65 20 76 69 73 69 62 6c |e.set th|e visibl|
|00003100| 65 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |e of car|d field |
|00003110| 41 75 74 68 6f 72 20 74 | 6f 20 66 61 6c 73 65 0d |Author t|o false.|
|00003120| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 00 82 |end mous|eUp.....|
|00003130| 00 0a 02 81 00 3d 00 3b | 00 da 01 c5 00 07 00 00 |.....=.;|........|
|00003140| 00 00 00 00 00 02 00 0c | 00 00 00 0e 48 65 6c 70 |........|....Help|
|00003150| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 73 65 74 |..on mou|seUp.set|
|00003160| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|00003170| 63 61 72 64 20 66 69 65 | 6c 64 20 48 65 6c 70 20 |card fie|ld Help |
|00003180| 74 6f 20 6e 6f 74 20 76 | 69 73 69 62 6c 65 20 6f |to not v|isible o|
|00003190| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 48 65 6c |f card f|ield Hel|
|000031a0| 70 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 00 00 |p.end mo|useUp...|
|000031b0| 00 62 00 0e 01 00 01 3f | 00 10 01 54 00 4c a0 02 |.b.....?|...T.L..|
|000031c0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 52 65 |........|......Re|
|000031d0| 74 75 72 6e 00 00 6f 6e | 20 6d 6f 75 73 65 55 70 |turn..on| mouseUp|
|000031e0| 0d 67 6c 6f 62 61 6c 20 | 72 65 74 75 72 6e 63 61 |.global |returnca|
|000031f0| 72 64 0d 67 6f 20 74 6f | 20 72 65 74 75 72 6e 63 |rd.go to| returnc|
|00003200| 61 72 64 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ard.end |mouseUp.|
|00003210| 00 00 ff f6 54 6f 77 65 | 72 20 6f 66 20 48 61 6e |....Towe|r of Han|
|00003220| 6f 69 20 49 6e 73 74 72 | 75 63 74 69 6f 6e 73 3a |oi Instr|uctions:|
|00003230| 0d 0d 28 20 43 6c 69 63 | 6b 20 6f 6e 20 74 68 65 |..( Clic|k on the|
|00003240| 20 74 69 74 6c 65 20 22 | 54 6f 77 65 72 20 6f 66 | title "|Tower of|
|00003250| 20 48 61 6e 6f 69 22 20 | 61 62 6f 76 65 20 74 6f | Hanoi" |above to|
|00003260| 20 68 69 64 65 20 74 68 | 69 73 20 69 6e 66 6f 72 | hide th|is infor|
|00003270| 6d 61 74 69 6f 6e 2e 20 | 29 0d 0d 54 68 69 73 20 |mation. |)..This |
|00003280| 73 74 61 63 6b 20 64 65 | 6d 6f 6e 73 74 72 61 74 |stack de|monstrat|
|00003290| 65 73 20 74 68 65 20 75 | 73 65 20 6f 66 20 61 20 |es the u|se of a |
|000032a0| 72 65 63 75 72 73 69 76 | 65 20 61 6c 67 6f 72 69 |recursiv|e algori|
|000032b0| 74 68 6d 20 74 6f 20 73 | 6f 6c 76 65 20 74 68 65 |thm to s|olve the|
|000032c0| 20 63 6c 61 73 73 69 63 | 20 54 6f 77 65 72 20 6f | classic| Tower o|
|000032d0| 66 20 48 61 6e 6f 69 20 | 70 72 6f 62 6c 65 6d 2e |f Hanoi |problem.|
|000032e0| 20 20 54 68 65 20 73 6f | 6c 75 74 69 6f 6e 20 69 | The so|lution i|
|000032f0| 6e 76 6f 6c 76 65 73 20 | 6d 6f 76 65 6d 65 6e 74 |nvolves |movement|
|00003300| 20 6f 66 20 61 20 73 74 | 61 63 6b 20 6f 66 20 64 | of a st|ack of d|
|00003310| 69 73 6b 73 20 66 72 6f | 6d 20 6f 6e 65 20 6f 66 |isks fro|m one of|
|00003320| 20 74 68 72 65 65 20 70 | 6f 6c 65 73 20 74 6f 20 | three p|oles to |
|00003330| 61 6e 6f 74 68 65 72 2e | 20 20 54 68 65 72 65 20 |another.| There |
|00003340| 61 72 65 20 74 77 6f 20 | 76 65 72 79 20 73 69 6d |are two |very sim|
|00003350| 70 6c 65 20 72 75 6c 65 | 73 3a 20 6f 6e 6c 79 20 |ple rule|s: only |
|00003360| 6f 6e 65 20 64 69 73 6b | 20 63 61 6e 20 62 65 20 |one disk| can be |
|00003370| 6d 6f 76 65 64 20 61 74 | 20 61 20 74 69 6d 65 2c |moved at| a time,|
|00003380| 20 61 6e 64 20 6e 6f 20 | 64 69 73 6b 20 63 61 6e | and no |disk can|
|00003390| 20 65 76 65 72 20 62 65 | 20 70 6c 61 63 65 64 20 | ever be| placed |
|000033a0| 6f 6e 20 74 6f 70 20 6f | 66 20 61 20 73 6d 61 6c |on top o|f a smal|
|000033b0| 6c 65 72 20 6f 6e 65 2e | 20 20 4c 65 67 65 6e 64 |ler one.| Legend|
|000033c0| 20 68 61 73 20 69 74 20 | 74 68 61 74 20 74 68 65 | has it |that the|
|000033d0| 72 65 20 69 73 20 61 6e | 20 6f 72 64 65 72 20 6f |re is an| order o|
|000033e0| 66 20 54 69 62 65 74 61 | 6e 20 6d 6f 6e 6b 73 20 |f Tibeta|n monks |
|000033f0| 77 68 6f 20 68 61 76 65 | 20 62 65 65 6e 20 6c 61 |who have| been la|
|00003400| 62 6f 72 69 6e 67 20 70 | 61 74 69 65 6e 74 6c 79 |boring p|atiently|
|00003410| 20 66 6f 72 20 63 65 6e | 74 75 72 69 65 73 20 74 | for cen|turies t|
|00003420| 6f 20 6d 6f 76 65 20 61 | 20 74 6f 77 65 72 20 6f |o move a| tower o|
|00003430| 66 20 6f 6e 65 20 68 75 | 6e 64 72 65 64 20 64 69 |f one hu|ndred di|
|00003440| 73 6b 73 2e 20 20 54 68 | 65 20 63 6f 6d 70 6c 65 |sks. Th|e comple|
|00003450| 74 69 6f 6e 20 6f 66 20 | 74 68 65 69 72 20 74 61 |tion of |their ta|
|00003460| 73 6b 20 77 69 6c 6c 20 | 62 72 69 6e 67 20 74 68 |sk will |bring th|
|00003470| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 75 6e 69 |e end of| the uni|
|00003480| 76 65 72 73 65 2e 20 20 | 4a 75 73 74 20 68 6f 77 |verse. |Just how|
|00003490| 20 77 6f 72 72 69 65 64 | 20 73 68 6f 75 6c 64 20 | worried| should |
|000034a0| 79 6f 75 20 62 65 3f 20 | 20 59 6f 75 20 63 61 6e |you be? | You can|
|000034b0| 20 75 73 65 20 74 68 69 | 73 20 73 74 61 63 6b 20 | use thi|s stack |
|000034c0| 74 6f 20 66 69 6e 64 20 | 6f 75 74 2e 0d 0d 55 6e |to find |out...Un|
|000034d0| 64 65 72 6e 65 61 74 68 | 20 74 68 65 20 74 69 74 |derneath| the tit|
|000034e0| 6c 65 20 62 75 74 74 6f | 6e 20 61 72 65 20 66 6f |le butto|n are fo|
|000034f0| 75 72 20 62 75 74 74 6f | 6e 73 20 74 68 61 74 20 |ur butto|ns that |
|00003500| 63 6f 6e 74 72 6f 6c 20 | 74 68 65 20 6f 70 65 72 |control |the oper|
|00003510| 61 74 69 6f 6e 20 6f 66 | 20 74 68 69 73 20 73 74 |ation of| this st|
|00003520| 61 63 6b 2e 20 20 46 72 | 6f 6d 20 6c 65 66 74 20 |ack. Fr|om left |
|00003530| 74 6f 20 72 69 67 68 74 | 20 74 68 65 79 20 61 72 |to right| they ar|
|00003540| 65 20 22 4d 61 6b 65 20 | 54 6f 77 65 72 2c 22 20 |e "Make |Tower," |
|00003550| 22 53 65 74 20 54 6f 77 | 65 72 2c 22 20 22 4d 6f |"Set Tow|er," "Mo|
|00003560| 76 65 20 54 6f 77 65 72 | 2c 22 20 61 6e 64 20 22 |ve Tower|," and "|
|00003570| 53 65 65 20 41 6c 67 6f | 72 69 74 68 6d 2e 22 0d |See Algo|rithm.".|
|00003580| 0d 43 6c 69 63 6b 20 22 | 4d 61 6b 65 20 54 6f 77 |.Click "|Make Tow|
|00003590| 65 72 22 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |er" to c|reate a |
|000035a0| 73 74 61 63 6b 20 6f 66 | 20 62 65 74 77 65 65 6e |stack of| between|
|000035b0| 20 30 20 61 6e 64 20 37 | 20 64 69 73 6b 73 2e 20 | 0 and 7| disks. |
|000035c0| 20 54 68 65 20 73 74 61 | 63 6b 20 69 73 20 61 75 | The sta|ck is au|
|000035d0| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 70 6f 73 69 |tomatica|lly posi|
|000035e0| 74 69 6f 6e 65 64 20 6f | 6e 20 74 68 65 20 6c 65 |tioned o|n the le|
|000035f0| 66 74 20 70 6f 6c 65 2e | 0d 0d 54 6f 20 72 65 73 |ft pole.|..To res|
|00003600| 65 74 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |et the p|osition |
|00003610| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 20 6f 66 20 |of the s|tack of |
|00003620| 64 69 73 6b 73 2c 20 63 | 6c 69 63 6b 20 22 53 65 |disks, c|lick "Se|
|00003630| 74 20 54 6f 77 65 72 2e | 22 20 20 41 20 64 69 61 |t Tower.|" A dia|
|00003640| 6c 6f 67 20 62 6f 78 20 | 61 70 70 65 61 72 73 20 |log box |appears |
|00003650| 67 69 76 69 6e 67 20 79 | 6f 75 20 74 68 65 20 63 |giving y|ou the c|
|00003660| 68 6f 69 63 65 20 6f 66 | 20 73 65 74 74 69 6e 67 |hoice of| setting|
|00003670| 20 74 68 65 20 74 6f 77 | 65 72 20 6f 6e 20 74 68 | the tow|er on th|
|00003680| 65 20 6c 65 66 74 2c 20 | 63 65 6e 74 65 72 2c 20 |e left, |center, |
|00003690| 6f 72 20 72 69 67 68 74 | 20 70 6f 6c 65 73 2e 0d |or right| poles..|
|000036a0| 0d 54 6f 20 6d 6f 76 65 | 20 74 68 65 20 73 74 61 |.To move| the sta|
|000036b0| 63 6b 20 6f 66 20 64 69 | 73 6b 73 20 75 73 69 6e |ck of di|sks usin|
|000036c0| 67 20 74 68 65 20 54 6f | 77 65 72 20 6f 66 20 48 |g the To|wer of H|
|000036d0| 61 6e 6f 69 20 61 6c 67 | 6f 72 69 74 68 6d 2c 20 |anoi alg|orithm, |
|000036e0| 63 6c 69 63 6b 20 22 4d | 6f 76 65 20 54 6f 77 65 |click "M|ove Towe|
|000036f0| 72 2e 22 20 20 41 67 61 | 69 6e 20 61 20 64 69 61 |r." Aga|in a dia|
|00003700| 6c 6f 67 20 62 6f 78 20 | 61 70 70 65 61 72 73 20 |log box |appears |
|00003710| 61 6c 6c 6f 77 69 6e 67 | 20 79 6f 75 20 74 6f 20 |allowing| you to |
|00003720| 73 65 6c 65 63 74 20 74 | 68 65 20 64 65 73 74 69 |select t|he desti|
|00003730| 6e 61 74 69 6f 6e 20 70 | 6f 6c 65 2e 20 20 54 68 |nation p|ole. Th|
|00003740| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 70 6f 6c 65 |e remain|ing pole|
|00003750| 2c 20 77 68 69 63 68 20 | 69 73 20 6e 65 69 74 68 |, which |is neith|
|00003760| 65 72 20 74 68 65 20 73 | 6f 75 72 63 65 20 6e 6f |er the s|ource no|
|00003770| 72 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |r the de|stinatio|
|00003780| 6e 2c 20 69 73 20 61 75 | 74 6f 6d 61 74 69 63 61 |n, is au|tomatica|
|00003790| 6c 6c 79 20 75 73 65 64 | 20 61 73 20 74 68 65 20 |lly used| as the |
|000037a0| 61 75 78 69 6c 69 61 72 | 79 20 70 6f 6c 65 2e 20 |auxiliar|y pole. |
|000037b0| 20 54 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 70 | The cur|rent dep|
|000037c0| 74 68 20 6f 66 20 72 65 | 63 75 72 73 69 6f 6e 20 |th of re|cursion |
|000037d0| 61 6e 64 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |and the |number o|
|000037e0| 66 20 6d 6f 76 65 73 20 | 61 72 65 20 64 69 73 70 |f moves |are disp|
|000037f0| 6c 61 79 65 64 20 62 65 | 6e 65 61 74 68 20 74 68 |layed be|neath th|
|00003800| 65 20 62 61 73 65 20 6f | 66 20 74 68 65 20 64 69 |e base o|f the di|
|00003810| 73 6b 20 68 6f 6c 64 65 | 72 2e 20 20 42 79 20 74 |sk holde|r. By t|
|00003820| 65 73 74 69 6e 67 20 74 | 68 65 20 6f 70 65 72 61 |esting t|he opera|
|00003830| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 61 6c 67 6f |tion of |the algo|
|00003840| 72 69 74 68 6d 20 6f 6e | 20 74 6f 77 65 72 73 20 |rithm on| towers |
|00003850| 6f 66 20 64 69 66 66 65 | 72 65 6e 74 20 68 65 69 |of diffe|rent hei|
|00003860| 67 68 74 73 2c 20 79 6f | 75 20 73 68 6f 75 6c 64 |ghts, yo|u should|
|00003870| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 64 65 74 65 | be able| to dete|
|00003880| 72 6d 69 6e 65 20 74 68 | 65 20 6d 61 78 69 6d 75 |rmine th|e maximu|
|00003890| 6d 20 64 65 70 74 68 20 | 6f 66 20 72 65 63 75 72 |m depth |of recur|
|000038a0| 73 69 6f 6e 20 61 6e 64 | 20 74 68 65 20 74 6f 74 |sion and| the tot|
|000038b0| 61 6c 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 6f 76 |al numbe|r of mov|
|000038c0| 65 73 20 69 6e 20 74 65 | 72 6d 73 20 6f 66 20 74 |es in te|rms of t|
|000038d0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 64 69 73 |he numbe|r of dis|
|000038e0| 6b 73 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 2e |ks in th|e stack.|
|000038f0| 20 20 28 53 65 65 20 74 | 68 65 20 73 63 72 69 70 | (See t|he scrip|
|00003900| 74 20 6f 66 20 74 68 65 | 20 74 69 74 6c 65 20 62 |t of the| title b|
|00003910| 75 74 74 6f 6e 20 66 6f | 72 20 74 68 65 20 61 6e |utton fo|r the an|
|00003920| 73 77 65 72 73 2c 20 61 | 6e 64 20 64 6f 6e 27 74 |swers, a|nd don't|
|00003930| 20 63 68 65 61 74 21 29 | 0d 0d 54 6f 20 65 78 61 | cheat!)|..To exa|
|00003940| 6d 69 6e 65 20 74 68 65 | 20 72 65 63 75 72 73 69 |mine the| recursi|
|00003950| 76 65 20 54 6f 77 65 72 | 20 6f 66 20 48 61 6e 6f |ve Tower| of Hano|
|00003960| 69 20 6d 6f 76 65 6d 65 | 6e 74 20 68 61 6e 64 6c |i moveme|nt handl|
|00003970| 65 72 20 22 6d 6f 76 65 | 54 6f 77 65 72 2c 22 20 |er "move|Tower," |
|00003980| 63 6c 69 63 6b 20 22 53 | 65 65 20 41 6c 67 6f 72 |click "S|ee Algor|
|00003990| 69 74 68 6d 2e 22 20 20 | 59 6f 75 20 6d 61 79 20 |ithm." |You may |
|000039a0| 61 6c 73 6f 20 76 69 65 | 77 20 74 68 65 20 73 63 |also vie|w the sc|
|000039b0| 72 69 70 74 20 6f 66 20 | 74 68 65 20 62 61 63 6b |ript of |the back|
|000039c0| 67 72 6f 75 6e 64 20 62 | 79 20 74 79 70 69 6e 67 |ground b|y typing|
|000039d0| 20 43 6f 6d 6d 61 6e 64 | 2d 4f 70 74 69 6f 6e 2d | Command|-Option-|
|000039e0| 42 20 74 6f 20 65 78 61 | 6d 69 6e 65 20 74 68 65 |B to exa|mine the|
|000039f0| 20 6f 74 68 65 72 20 68 | 61 6e 64 6c 65 72 73 20 | other h|andlers |
|00003a00| 74 68 61 74 20 73 75 70 | 70 6f 72 74 20 74 68 65 |that sup|port the|
|00003a10| 20 6f 70 65 72 61 74 69 | 6f 6e 20 6f 66 20 74 68 | operati|on of th|
|00003a20| 69 73 20 73 74 61 63 6b | 2e 0d 0d 43 6c 69 63 6b |is stack|...Click|
|00003a30| 69 6e 67 20 6f 6e 20 74 | 68 65 20 74 69 74 6c 65 |ing on t|he title|
|00003a40| 20 22 54 6f 77 65 72 20 | 6f 66 20 48 61 6e 6f 69 | "Tower |of Hanoi|
|00003a50| 22 20 61 62 6f 76 65 20 | 77 69 6c 6c 20 68 69 64 |" above |will hid|
|00003a60| 65 20 74 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |e this i|nformati|
|00003a70| 6f 6e 20 77 68 65 6e 20 | 76 69 73 69 62 6c 65 2c |on when |visible,|
|00003a80| 20 61 6e 64 20 77 69 6c | 6c 20 6f 74 68 65 72 77 | and wil|l otherw|
|00003a90| 69 73 65 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |ise disp|lay the |
|00003aa0| 61 75 74 68 6f 72 73 68 | 69 70 20 6f 66 20 74 68 |authorsh|ip of th|
|00003ab0| 65 20 73 74 61 63 6b 2e | 0d 00 ff f5 57 72 69 74 |e stack.|....Writ|
|00003ac0| 74 65 6e 20 62 79 20 4a | 65 66 66 72 79 20 41 2e |ten by J|effry A.|
|00003ad0| 20 53 70 61 69 6e 2c 20 | 4d 2e 44 2e 2c 20 27 37 | Spain, |M.D., '7|
|00003ae0| 31 0d 0d 54 68 65 20 48 | 79 70 65 72 53 63 68 6f |1..The H|yperScho|
|00003af0| 6f 6c 0d 43 69 6e 63 69 | 6e 6e 61 74 69 20 43 6f |ol.Cinci|nnati Co|
|00003b00| 75 6e 74 72 79 20 44 61 | 79 20 53 63 68 6f 6f 6c |untry Da|y School|
|00003b10| 0d 41 74 74 6e 3a 20 4a | 6f 73 65 70 68 20 46 2e |.Attn: J|oseph F.|
|00003b20| 20 48 6f 66 6d 65 69 73 | 74 65 72 0d 43 6f 6d 70 | Hofmeis|ter.Comp|
|00003b30| 75 74 65 72 20 43 6f 6f | 72 64 69 6e 61 74 6f 72 |uter Coo|rdinator|
|00003b40| 0d 36 39 30 35 20 47 69 | 76 65 6e 20 52 6f 61 64 |.6905 Gi|ven Road|
|00003b50| 0d 43 69 6e 63 69 6e 6e | 61 74 69 2c 20 4f 68 69 |.Cincinn|ati, Ohi|
|00003b60| 6f 20 34 35 32 34 33 0d | 0d 54 65 6c 65 70 68 6f |o 45243.|.Telepho|
|00003b70| 6e 65 3a 20 35 31 33 2d | 35 36 31 2d 37 32 39 38 |ne: 513-|561-7298|
|00003b80| 0d 41 70 70 6c 65 4c 69 | 6e 6b 3a 20 4b 30 31 39 |.AppleLi|nk: K019|
|00003b90| 37 00 00 31 44 65 70 74 | 68 20 6f 66 20 52 65 63 |7..1Dept|h of Rec|
|00003ba0| 75 72 73 69 6f 6e 00 00 | 32 30 00 00 35 4e 75 6d |ursion..|20..5Num|
|00003bb0| 62 65 72 20 6f 66 20 4d | 6f 76 65 73 00 00 34 30 |ber of M|oves..40|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 20 54 41 49 4c | ff ff ff ff 13 54 68 61 |... TAIL|.....Tha|
|00003bf0| 74 27 73 20 61 6c 6c 20 | 66 6f 6c 6b 73 2e 2e 2e |t's all |folks...|
+--------+-------------------------+-------------------------+--------+--------+