home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 7a 65 70 68 |Path: uu|net!zeph|
|00000010| 79 72 2e 65 6e 73 2e 74 | 65 6b 2e 63 6f 6d 21 6d |yr.ens.t|ek.com!m|
|00000020| 61 73 74 65 72 21 73 61 | 61 62 21 62 69 6c 6c 72 |aster!sa|ab!billr|
|00000030| 0a 46 72 6f 6d 3a 20 62 | 69 6c 6c 72 40 73 61 61 |.From: b|illr@saa|
|00000040| 62 2e 43 4e 41 2e 54 45 | 4b 2e 43 4f 4d 20 28 42 |b.CNA.TE|K.COM (B|
|00000050| 69 6c 6c 20 52 61 6e 64 | 6c 65 29 0a 4e 65 77 73 |ill Rand|le).News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 6f 75 |groups: |comp.sou|
|00000070| 72 63 65 73 2e 67 61 6d | 65 73 0a 53 75 62 6a 65 |rces.gam|es.Subje|
|00000080| 63 74 3a 20 76 31 33 69 | 30 31 32 3a 20 20 78 6d |ct: v13i|012: xm|
|00000090| 61 6b 65 35 20 2d 20 63 | 6f 6e 6e 65 63 74 20 66 |ake5 - c|onnect f|
|000000a0| 69 76 65 2d 69 6e 2d 61 | 2d 72 6f 77 20 67 61 6d |ive-in-a|-row gam|
|000000b0| 65 2c 20 50 61 72 74 30 | 33 2f 30 33 0a 4d 65 73 |e, Part0|3/03.Mes|
|000000c0| 73 61 67 65 2d 49 44 3a | 20 3c 32 31 36 32 40 6d |sage-ID:| <2162@m|
|000000d0| 61 73 74 65 72 43 4e 41 | 2e 54 45 4b 2e 43 4f 4d |asterCNA|.TEK.COM|
|000000e0| 3e 0a 44 61 74 65 3a 20 | 31 33 20 44 65 63 20 39 |>.Date: |13 Dec 9|
|000000f0| 31 20 32 32 3a 32 31 3a | 35 33 20 47 4d 54 0a 53 |1 22:21:|53 GMT.S|
|00000100| 65 6e 64 65 72 3a 20 6e | 65 77 73 40 6d 61 73 74 |ender: n|ews@mast|
|00000110| 65 72 43 4e 41 2e 54 45 | 4b 2e 43 4f 4d 0a 4c 69 |erCNA.TE|K.COM.Li|
|00000120| 6e 65 73 3a 20 32 35 34 | 0a 41 70 70 72 6f 76 65 |nes: 254|.Approve|
|00000130| 64 3a 20 62 69 6c 6c 72 | 40 73 61 61 62 2e 43 4e |d: billr|@saab.CN|
|00000140| 41 2e 54 45 4b 2e 43 4f | 4d 0a 0a 53 75 62 6d 69 |A.TEK.CO|M..Submi|
|00000150| 74 74 65 64 2d 62 79 3a | 20 68 73 69 65 68 63 68 |tted-by:| hsiehch|
|00000160| 40 53 50 55 4e 4b 59 2e | 43 53 2e 4e 59 55 2e 45 |@SPUNKY.|CS.NYU.E|
|00000170| 44 55 20 28 43 68 69 68 | 2d 48 75 6e 67 20 48 73 |DU (Chih|-Hung Hs|
|00000180| 69 65 68 29 0a 50 6f 73 | 74 69 6e 67 2d 6e 75 6d |ieh).Pos|ting-num|
|00000190| 62 65 72 3a 20 56 6f 6c | 75 6d 65 20 31 33 2c 20 |ber: Vol|ume 13, |
|000001a0| 49 73 73 75 65 20 31 32 | 0a 41 72 63 68 69 76 65 |Issue 12|.Archive|
|000001b0| 2d 6e 61 6d 65 3a 20 78 | 6d 61 6b 65 35 2f 50 61 |-name: x|make5/Pa|
|000001c0| 72 74 30 33 0a 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |rt03.Env|ironment|
|000001d0| 3a 20 43 2b 2b 2c 20 58 | 31 31 2c 20 63 75 72 73 |: C++, X|11, curs|
|000001e0| 65 73 0a 0a 0a 0a 23 21 | 20 2f 62 69 6e 2f 73 68 |es....#!| /bin/sh|
|000001f0| 0a 23 20 54 68 69 73 20 | 69 73 20 61 20 73 68 65 |.# This |is a she|
|00000200| 6c 6c 20 61 72 63 68 69 | 76 65 2e 20 20 52 65 6d |ll archi|ve. Rem|
|00000210| 6f 76 65 20 61 6e 79 74 | 68 69 6e 67 20 62 65 66 |ove anyt|hing bef|
|00000220| 6f 72 65 20 74 68 69 73 | 20 6c 69 6e 65 2c 20 74 |ore this| line, t|
|00000230| 68 65 6e 20 75 6e 70 61 | 63 6b 0a 23 20 69 74 20 |hen unpa|ck.# it |
|00000240| 62 79 20 73 61 76 69 6e | 67 20 69 74 20 69 6e 74 |by savin|g it int|
|00000250| 6f 20 61 20 66 69 6c 65 | 20 61 6e 64 20 74 79 70 |o a file| and typ|
|00000260| 69 6e 67 20 22 73 68 20 | 66 69 6c 65 22 2e 20 20 |ing "sh |file". |
|00000270| 54 6f 20 6f 76 65 72 77 | 72 69 74 65 20 65 78 69 |To overw|rite exi|
|00000280| 73 74 69 6e 67 0a 23 20 | 66 69 6c 65 73 2c 20 74 |sting.# |files, t|
|00000290| 79 70 65 20 22 73 68 20 | 66 69 6c 65 20 2d 63 22 |ype "sh |file -c"|
|000002a0| 2e 20 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |. You c|an also |
|000002b0| 66 65 65 64 20 74 68 69 | 73 20 61 73 20 73 74 61 |feed thi|s as sta|
|000002c0| 6e 64 61 72 64 20 69 6e | 70 75 74 20 76 69 61 0a |ndard in|put via.|
|000002d0| 23 20 75 6e 73 68 61 72 | 2c 20 6f 72 20 62 79 20 |# unshar|, or by |
|000002e0| 74 79 70 69 6e 67 20 22 | 73 68 20 3c 66 69 6c 65 |typing "|sh <file|
|000002f0| 22 2c 20 65 2e 67 2e 2e | 20 20 49 66 20 74 68 69 |", e.g..| If thi|
|00000300| 73 20 61 72 63 68 69 76 | 65 20 69 73 20 63 6f 6d |s archiv|e is com|
|00000310| 70 6c 65 74 65 2c 20 79 | 6f 75 0a 23 20 77 69 6c |plete, y|ou.# wil|
|00000320| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|00000330| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 74 20 74 |ing mess|age at t|
|00000340| 68 65 20 65 6e 64 3a 0a | 23 09 09 22 45 6e 64 20 |he end:.|#.."End |
|00000350| 6f 66 20 61 72 63 68 69 | 76 65 20 33 20 28 6f 66 |of archi|ve 3 (of|
|00000360| 20 33 29 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 | 3).".# |Contents|
|00000370| 3a 20 20 43 4f 50 59 52 | 49 47 48 54 20 62 6f 61 |: COPYR|IGHT boa|
|00000380| 72 64 2e 78 62 6d 20 63 | 6d 61 6b 65 35 2e 36 20 |rd.xbm c|make5.6 |
|00000390| 6c 69 6e 65 5f 76 61 6c | 2e 69 6e 63 20 70 72 69 |line_val|.inc pri|
|000003a0| 6e 74 68 65 6c 70 2e 63 | 0a 23 20 20 20 78 6d 61 |nthelp.c|.# xma|
|000003b0| 6b 65 35 2e 68 0a 23 20 | 57 72 61 70 70 65 64 20 |ke5.h.# |Wrapped |
|000003c0| 62 79 20 62 69 6c 6c 72 | 40 73 61 61 62 20 6f 6e |by billr|@saab on|
|000003d0| 20 46 72 69 20 44 65 63 | 20 31 33 20 31 34 3a 31 | Fri Dec| 13 14:1|
|000003e0| 34 3a 35 36 20 31 39 39 | 31 0a 50 41 54 48 3d 2f |4:56 199|1.PATH=/|
|000003f0| 62 69 6e 3a 2f 75 73 72 | 2f 62 69 6e 3a 2f 75 73 |bin:/usr|/bin:/us|
|00000400| 72 2f 75 63 62 20 3b 20 | 65 78 70 6f 72 74 20 50 |r/ucb ; |export P|
|00000410| 41 54 48 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |ATH.if t|est -f '|
|00000420| 43 4f 50 59 52 49 47 48 | 54 27 20 2d 61 20 22 24 |COPYRIGH|T' -a "$|
|00000430| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00000440| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00000450| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00000460| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00000470| 20 5c 22 27 43 4f 50 59 | 52 49 47 48 54 27 5c 22 | \"'COPY|RIGHT'\"|
|00000480| 0a 65 6c 73 65 0a 65 63 | 68 6f 20 73 68 61 72 3a |.else.ec|ho shar:|
|00000490| 20 45 78 74 72 61 63 74 | 69 6e 67 20 5c 22 27 43 | Extract|ing \"'C|
|000004a0| 4f 50 59 52 49 47 48 54 | 27 5c 22 20 5c 28 35 36 |OPYRIGHT|'\" \(56|
|000004b0| 30 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |0 charac|ters\).s|
|000004c0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 43 4f |ed "s/^X|//" >'CO|
|000004d0| 50 59 52 49 47 48 54 27 | 20 3c 3c 27 45 4e 44 5f |PYRIGHT'| <<'END_|
|000004e0| 4f 46 5f 46 49 4c 45 27 | 0a 58 43 6f 70 79 72 69 |OF_FILE'|.XCopyri|
|000004f0| 67 68 74 20 31 39 39 31 | 20 43 68 69 68 2d 48 75 |ght 1991| Chih-Hu|
|00000500| 6e 67 20 48 73 69 65 68 | 0a 58 0a 58 41 6c 6c 20 |ng Hsieh|.X.XAll |
|00000510| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000520| 0a 58 0a 58 50 65 72 6d | 69 73 73 69 6f 6e 20 74 |.X.XPerm|ission t|
|00000530| 6f 20 75 73 65 2c 20 63 | 6f 70 79 2c 20 6d 6f 64 |o use, c|opy, mod|
|00000540| 69 66 79 2c 20 61 6e 64 | 20 64 69 73 74 72 69 62 |ify, and| distrib|
|00000550| 75 74 65 20 74 68 69 73 | 20 70 72 6f 67 72 61 6d |ute this| program|
|00000560| 0a 58 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 |.Xfor an|y purpos|
|00000570| 65 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 66 65 |e and wi|thout fe|
|00000580| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|00000590| 74 65 64 2c 20 70 72 6f | 76 69 64 65 64 0a 58 74 |ted, pro|vided.Xt|
|000005a0| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|000005b0| 70 79 20 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |py right| notice |
|000005c0| 61 6e 64 20 74 68 69 73 | 20 70 65 72 6d 69 73 73 |and this| permiss|
|000005d0| 69 6f 6e 20 6e 6f 74 69 | 63 65 0a 58 61 70 70 65 |ion noti|ce.Xappe|
|000005e0| 61 72 20 69 6e 20 61 6c | 6c 20 63 6f 70 69 65 73 |ar in al|l copies|
|000005f0| 2c 20 61 6e 64 20 74 68 | 61 74 20 74 68 65 20 6e |, and th|at the n|
|00000600| 61 6d 65 20 6f 66 20 74 | 68 65 20 61 75 74 68 6f |ame of t|he autho|
|00000610| 72 20 6e 6f 74 20 62 65 | 20 0a 58 75 73 65 64 20 |r not be| .Xused |
|00000620| 69 6e 20 61 64 76 65 72 | 74 69 73 69 6e 67 20 6f |in adver|tising o|
|00000630| 72 20 70 75 62 6c 69 63 | 69 74 79 20 70 65 72 74 |r public|ity pert|
|00000640| 61 69 6e 69 6e 67 20 74 | 6f 20 74 68 69 73 20 64 |aining t|o this d|
|00000650| 6f 63 75 6d 65 6e 74 20 | 0a 58 77 69 74 68 6f 75 |ocument |.Xwithou|
|00000660| 74 20 73 70 65 63 69 66 | 69 63 2c 20 77 72 69 74 |t specif|ic, writ|
|00000670| 74 65 6e 20 70 72 69 6f | 72 20 70 65 72 6d 69 73 |ten prio|r permis|
|00000680| 73 69 6f 6e 2e 20 20 54 | 68 65 20 61 75 74 68 6f |sion. T|he autho|
|00000690| 72 20 6d 61 6b 65 0a 58 | 6e 6f 20 72 65 70 72 65 |r make.X|no repre|
|000006a0| 73 65 6e 74 61 74 69 6f | 6e 73 20 61 62 6f 75 74 |sentatio|ns about|
|000006b0| 20 74 68 65 20 73 75 69 | 74 61 62 69 6c 69 74 79 | the sui|tability|
|000006c0| 20 6f 66 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e | of this| documen|
|000006d0| 74 20 66 6f 72 0a 58 61 | 6e 79 20 70 75 72 70 6f |t for.Xa|ny purpo|
|000006e0| 73 65 2e 20 20 49 74 20 | 69 73 20 70 72 6f 76 69 |se. It |is provi|
|000006f0| 64 65 64 20 60 60 61 73 | 20 69 73 27 27 20 77 69 |ded ``as| is'' wi|
|00000700| 74 68 6f 75 74 20 65 78 | 70 72 65 73 73 65 64 20 |thout ex|pressed |
|00000710| 6f 72 0a 58 69 6d 70 6c | 69 65 64 20 77 61 72 72 |or.Ximpl|ied warr|
|00000720| 61 6e 74 79 2e 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |anty..EN|D_OF_FIL|
|00000730| 45 0a 69 66 20 74 65 73 | 74 20 35 36 30 20 2d 6e |E.if tes|t 560 -n|
|00000740| 65 20 60 77 63 20 2d 63 | 20 3c 27 43 4f 50 59 52 |e `wc -c| <'COPYR|
|00000750| 49 47 48 54 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |IGHT'`; |then. |
|00000760| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 43 | echo sh|ar: \"'C|
|00000770| 4f 50 59 52 49 47 48 54 | 27 5c 22 20 75 6e 70 61 |OPYRIGHT|'\" unpa|
|00000780| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00000790| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|000007a0| 66 20 27 43 4f 50 59 52 | 49 47 48 54 27 0a 66 69 |f 'COPYR|IGHT'.fi|
|000007b0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 62 6f 61 |.if test| -f 'boa|
|000007c0| 72 64 2e 78 62 6d 27 20 | 2d 61 20 22 24 7b 31 7d |rd.xbm' |-a "${1}|
|000007d0| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|000007e0| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|000007f0| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00000800| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00000810| 27 62 6f 61 72 64 2e 78 | 62 6d 27 5c 22 0a 65 6c |'board.x|bm'\".el|
|00000820| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00000830| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 62 6f 61 72 |tracting| \"'boar|
|00000840| 64 2e 78 62 6d 27 5c 22 | 20 5c 28 31 30 32 20 63 |d.xbm'\"| \(102 c|
|00000850| 68 61 72 61 63 74 65 72 | 73 5c 29 0a 73 65 64 20 |haracter|s\).sed |
|00000860| 22 73 2f 5e 58 2f 2f 22 | 20 3e 27 62 6f 61 72 64 |"s/^X//"| >'board|
|00000870| 2e 78 62 6d 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |.xbm' <<|'END_OF_|
|00000880| 46 49 4c 45 27 0a 58 23 | 64 65 66 69 6e 65 20 62 |FILE'.X#|define b|
|00000890| 6f 61 72 64 5f 77 69 64 | 74 68 20 34 0a 58 23 64 |oard_wid|th 4.X#d|
|000008a0| 65 66 69 6e 65 20 62 6f | 61 72 64 5f 68 65 69 67 |efine bo|ard_heig|
|000008b0| 68 74 20 34 0a 58 73 74 | 61 74 69 63 20 63 68 61 |ht 4.Xst|atic cha|
|000008c0| 72 20 62 6f 61 72 64 5f | 62 69 74 73 5b 5d 20 3d |r board_|bits[] =|
|000008d0| 20 7b 0a 58 20 20 20 30 | 78 30 31 2c 20 30 78 30 | {.X 0|x01, 0x0|
|000008e0| 34 2c 20 30 78 30 32 2c | 20 30 78 30 38 7d 3b 0a |4, 0x02,| 0x08};.|
|000008f0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|00000900| 65 73 74 20 31 30 32 20 | 2d 6e 65 20 60 77 63 20 |est 102 |-ne `wc |
|00000910| 2d 63 20 3c 27 62 6f 61 | 72 64 2e 78 62 6d 27 60 |-c <'boa|rd.xbm'`|
|00000920| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00000930| 73 68 61 72 3a 20 5c 22 | 27 62 6f 61 72 64 2e 78 |shar: \"|'board.x|
|00000940| 62 6d 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |bm'\" un|packed w|
|00000950| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00000960| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 62 6f 61 |fi.# end| of 'boa|
|00000970| 72 64 2e 78 62 6d 27 0a | 66 69 0a 69 66 20 74 65 |rd.xbm'.|fi.if te|
|00000980| 73 74 20 2d 66 20 27 63 | 6d 61 6b 65 35 2e 36 27 |st -f 'c|make5.6'|
|00000990| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|000009a0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|000009b0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|000009c0| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|000009d0| 67 20 66 69 6c 65 20 5c | 22 27 63 6d 61 6b 65 35 |g file \|"'cmake5|
|000009e0| 2e 36 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |.6'\".el|se.echo |
|000009f0| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00000a00| 20 5c 22 27 63 6d 61 6b | 65 35 2e 36 27 5c 22 20 | \"'cmak|e5.6'\" |
|00000a10| 5c 28 32 30 33 35 20 63 | 68 61 72 61 63 74 65 72 |\(2035 c|haracter|
|00000a20| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00000a30| 20 3e 27 63 6d 61 6b 65 | 35 2e 36 27 20 3c 3c 27 | >'cmake|5.6' <<'|
|00000a40| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2e 54 |END_OF_F|ILE'.X.T|
|00000a50| 48 20 43 4d 41 4b 45 35 | 20 36 20 20 22 32 38 20 |H CMAKE5| 6 "28 |
|00000a60| 4e 6f 76 65 6d 62 65 72 | 20 31 39 39 31 22 0a 58 |November| 1991".X|
|00000a70| 2e 53 48 20 4e 41 4d 45 | 0a 58 63 6d 61 6b 65 35 |.SH NAME|.Xcmake5|
|00000a80| 20 5c 2d 20 74 68 65 20 | 67 61 6d 65 20 6f 66 20 | \- the |game of |
|00000a90| 35 2d 69 6e 2d 61 2d 72 | 6f 77 0a 58 2e 53 48 20 |5-in-a-r|ow.X.SH |
|00000aa0| 53 59 4e 4f 50 53 49 53 | 0a 58 2e 42 20 63 6d 61 |SYNOPSIS|.X.B cma|
|00000ab0| 6b 65 35 0a 58 2e 53 48 | 20 44 45 53 43 52 49 50 |ke5.X.SH| DESCRIP|
|00000ac0| 54 49 4f 4e 0a 58 2e 49 | 20 4d 61 6b 65 35 0a 58 |TION.X.I| Make5.X|
|00000ad0| 69 73 20 61 20 67 61 6d | 65 20 73 69 6d 69 6c 61 |is a gam|e simila|
|00000ae0| 72 20 74 6f 20 54 69 63 | 2d 54 61 63 2d 54 6f 65 |r to Tic|-Tac-Toe|
|00000af0| 2e 0a 58 49 74 20 69 73 | 20 63 61 6c 6c 65 64 20 |..XIt is| called |
|00000b00| 57 75 33 2d 5a 69 33 2d | 51 69 32 20 69 6e 20 43 |Wu3-Zi3-|Qi2 in C|
|00000b10| 68 69 6e 65 73 65 20 61 | 6e 64 20 69 73 20 0a 58 |hinese a|nd is .X|
|00000b20| 76 65 72 79 20 70 6f 70 | 75 6c 61 72 20 69 6e 20 |very pop|ular in |
|00000b30| 74 68 65 20 46 61 72 20 | 45 61 73 74 2e 0a 58 35 |the Far |East..X5|
|00000b40| 2d 69 6e 2d 61 2d 72 6f | 77 20 61 6e 64 20 47 6f |-in-a-ro|w and Go|
|00000b50| 2d 4d 6f 6b 75 20 61 72 | 65 20 74 68 65 20 6f 74 |-Moku ar|e the ot|
|00000b60| 68 65 72 20 6e 61 6d 65 | 73 0a 58 66 6f 72 20 74 |her name|s.Xfor t|
|00000b70| 68 69 73 20 67 61 6d 65 | 2e 0a 58 59 6f 75 20 6d |his game|..XYou m|
|00000b80| 61 79 20 61 6c 73 6f 20 | 66 69 6e 64 20 69 74 20 |ay also |find it |
|00000b90| 63 61 6c 6c 65 64 20 22 | 43 68 65 73 73 22 20 0a |called "|Chess" .|
|00000ba0| 58 6f 6e 20 73 6f 6d 65 | 20 4e 69 74 65 6e 64 6f |Xon some| Nitendo|
|00000bb0| 20 67 61 6d 65 20 63 61 | 72 74 72 69 64 67 65 73 | game ca|rtridges|
|00000bc0| 2e 0a 58 49 20 63 61 6c | 6c 20 69 74 20 4d 61 6b |..XI cal|l it Mak|
|00000bd0| 65 35 20 62 65 63 61 75 | 73 65 20 74 68 65 20 67 |e5 becau|se the g|
|00000be0| 6f 61 6c 20 6f 66 20 74 | 68 69 73 20 67 61 6d 65 |oal of t|his game|
|00000bf0| 0a 58 69 73 20 74 6f 20 | 6d 61 6b 65 20 66 69 76 |.Xis to |make fiv|
|00000c00| 65 20 63 6f 6e 74 69 6e | 75 6f 75 73 20 73 74 6f |e contin|uous sto|
|00000c10| 6e 65 73 20 69 6e 20 61 | 20 6c 69 6e 65 2e 0a 58 |nes in a| line..X|
|00000c20| 2e 4c 50 0a 58 54 68 69 | 73 20 67 61 6d 65 20 77 |.LP.XThi|s game w|
|00000c30| 61 73 20 6f 72 69 67 69 | 6e 61 6c 6c 79 20 70 6c |as origi|nally pl|
|00000c40| 61 79 65 64 20 62 79 20 | 74 77 6f 20 70 6c 61 79 |ayed by |two play|
|00000c50| 65 72 73 0a 58 6f 6e 20 | 61 20 62 6f 61 72 64 20 |ers.Xon |a board |
|00000c60| 6f 66 20 69 6e 66 69 6e | 69 74 65 20 73 69 7a 65 |of infin|ite size|
|00000c70| 2e 20 20 45 61 63 68 20 | 70 6c 61 79 65 72 20 70 |. Each |player p|
|00000c80| 75 74 73 0a 58 61 20 73 | 74 6f 6e 65 20 61 74 20 |uts.Xa s|tone at |
|00000c90| 6f 6e 65 20 65 6d 70 74 | 79 20 63 72 6f 73 73 2d |one empt|y cross-|
|00000ca0| 70 6f 69 6e 74 20 61 74 | 20 61 20 74 69 6d 65 2e |point at| a time.|
|00000cb0| 20 20 0a 58 54 68 65 20 | 77 69 6e 6e 65 72 20 69 | .XThe |winner i|
|00000cc0| 73 20 74 68 65 20 6f 6e | 65 20 77 68 6f 20 66 69 |s the on|e who fi|
|00000cd0| 72 73 74 20 70 75 74 73 | 20 66 69 76 65 0a 58 63 |rst puts| five.Xc|
|00000ce0| 6f 6e 74 69 6e 75 6f 75 | 73 20 73 74 6f 6e 65 73 |ontinuou|s stones|
|00000cf0| 20 69 6e 20 61 20 6c 69 | 6e 65 2c 20 76 65 72 74 | in a li|ne, vert|
|00000d00| 69 63 61 6c 6c 79 2c 20 | 0a 58 68 6f 72 69 7a 6f |ically, |.Xhorizo|
|00000d10| 6e 74 61 6c 6c 79 2c 20 | 6f 72 20 64 69 61 67 6f |ntally, |or diago|
|00000d20| 6e 61 6c 6c 79 2e 0a 58 | 2e 4c 50 0a 58 48 6f 77 |nally..X|.LP.XHow|
|00000d30| 65 76 65 72 2c 20 74 68 | 69 73 20 70 72 6f 67 72 |ever, th|is progr|
|00000d40| 61 6d 20 70 6c 61 79 73 | 20 74 68 65 20 67 61 6d |am plays| the gam|
|00000d50| 65 20 6f 6e 20 61 20 66 | 69 6e 69 74 65 0a 58 62 |e on a f|inite.Xb|
|00000d60| 6f 61 72 64 20 74 68 65 | 20 73 61 6d 65 20 73 69 |oard the| same si|
|00000d70| 7a 65 20 61 73 20 61 20 | 47 4f 20 67 61 6d 65 20 |ze as a |GO game |
|00000d80| 62 6f 61 72 64 2c 20 77 | 68 69 63 68 20 68 61 73 |board, w|hich has|
|00000d90| 0a 58 31 39 20 62 79 20 | 31 39 20 63 72 6f 73 73 |.X19 by |19 cross|
|00000da0| 2d 70 6f 69 6e 74 73 2e | 0a 58 2e 49 20 54 68 65 |-points.|.X.I The|
|00000db0| 20 6f 6e 6c 79 20 74 72 | 69 63 6b 79 20 72 75 6c | only tr|icky rul|
|00000dc0| 65 20 0a 58 2e 49 20 69 | 73 20 74 68 61 74 20 79 |e .X.I i|s that y|
|00000dd0| 6f 75 20 6d 75 73 74 20 | 6d 61 6b 65 0a 58 2e 49 |ou must |make.X.I|
|00000de0| 20 65 78 61 63 74 6c 79 | 20 66 69 76 65 20 63 6f | exactly| five co|
|00000df0| 6e 74 69 6e 75 6f 75 73 | 20 0a 58 2e 49 20 73 74 |ntinuous| .X.I st|
|00000e00| 6f 6e 65 73 20 69 6e 20 | 61 20 6c 69 6e 65 20 74 |ones in |a line t|
|00000e10| 6f 20 77 69 6e 2e 20 20 | 0a 58 2e 49 20 53 69 78 |o win. |.X.I Six|
|00000e20| 20 6f 72 20 6d 6f 72 65 | 20 73 74 6f 6e 65 73 20 | or more| stones |
|00000e30| 69 6e 0a 58 2e 49 20 61 | 20 6c 69 6e 65 20 64 6f |in.X.I a| line do|
|00000e40| 20 6e 6f 74 20 63 6f 75 | 6e 74 2e 0a 58 2e 4c 50 | not cou|nt..X.LP|
|00000e50| 0a 58 53 6f 6d 65 20 70 | 65 6f 70 6c 65 20 70 6c |.XSome p|eople pl|
|00000e60| 61 79 20 74 68 69 73 20 | 67 61 6d 65 20 77 69 74 |ay this |game wit|
|00000e70| 68 20 61 20 72 75 6c 65 | 20 77 68 69 63 68 0a 58 |h a rule| which.X|
|00000e80| 70 72 6f 68 69 62 69 74 | 73 20 74 68 65 20 66 69 |prohibit|s the fi|
|00000e90| 72 73 74 20 70 6c 61 79 | 65 72 20 74 6f 20 6d 61 |rst play|er to ma|
|00000ea0| 6b 65 20 64 6f 75 62 6c | 65 2d 33 20 6f 72 20 0a |ke doubl|e-3 or .|
|00000eb0| 58 64 6f 75 62 6c 65 2d | 34 20 61 74 74 61 63 6b |Xdouble-|4 attack|
|00000ec0| 69 6e 67 20 70 61 74 74 | 65 72 6e 73 2e 20 20 42 |ing patt|erns. B|
|00000ed0| 75 74 20 49 20 64 6f 20 | 6e 6f 74 0a 58 6c 69 6b |ut I do |not.Xlik|
|00000ee0| 65 20 74 68 69 73 20 72 | 75 6c 65 20 61 6e 64 20 |e this r|ule and |
|00000ef0| 64 69 64 20 6e 6f 74 20 | 69 6e 63 6c 75 64 65 20 |did not |include |
|00000f00| 69 74 20 69 6e 20 74 68 | 69 73 20 0a 58 70 72 6f |it in th|is .Xpro|
|00000f10| 67 72 61 6d 2e 0a 58 2e | 4c 50 0a 58 2e 53 48 20 |gram..X.|LP.X.SH |
|00000f20| 4f 50 54 49 4f 4e 53 0a | 58 53 69 6e 63 65 20 74 |OPTIONS.|XSince t|
|00000f30| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 64 |his prog|ram is d|
|00000f40| 65 73 69 67 6e 65 64 20 | 66 6f 72 20 74 68 65 20 |esigned |for the |
|00000f50| 73 69 74 75 61 74 69 6f | 6e 0a 58 77 68 65 6e 20 |situatio|n.Xwhen |
|00000f60| 61 6e 20 58 20 74 65 72 | 6d 69 6e 61 6c 20 69 73 |an X ter|minal is|
|00000f70| 20 6e 6f 74 20 61 76 61 | 69 6c 61 62 6c 65 2c 20 | not ava|ilable, |
|00000f80| 6f 6e 6c 79 20 61 0a 58 | 6c 69 6d 69 74 65 64 20 |only a.X|limited |
|00000f90| 75 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 20 61 |user int|erface a|
|00000fa0| 6e 64 20 6f 70 74 69 6f | 6e 73 20 61 72 65 20 73 |nd optio|ns are s|
|00000fb0| 75 70 70 6f 72 74 65 64 | 2e 0a 58 57 68 65 6e 65 |upported|..XWhene|
|00000fc0| 76 65 72 20 58 20 69 73 | 20 61 76 61 69 6c 61 62 |ver X is| availab|
|00000fd0| 6c 65 2c 20 79 6f 75 20 | 77 6f 75 6c 64 20 75 73 |le, you |would us|
|00000fe0| 65 20 0a 58 2e 42 20 78 | 6d 61 6b 65 35 20 0a 58 |e .X.B x|make5 .X|
|00000ff0| 69 6e 73 74 65 61 64 2e | 0a 58 2e 4c 50 0a 58 4f |instead.|.X.LP.XO|
|00001000| 6e 6c 79 20 74 68 72 65 | 65 20 70 6c 61 79 69 6e |nly thre|e playin|
|00001010| 67 20 6d 6f 64 65 73 20 | 61 72 65 20 73 75 70 70 |g modes |are supp|
|00001020| 6f 72 74 65 64 20 69 6e | 20 63 6d 61 6b 65 35 3a |orted in| cmake5:|
|00001030| 0a 58 28 31 29 20 63 68 | 61 6c 6c 65 6e 67 65 20 |.X(1) ch|allenge |
|00001040| 28 63 6f 6d 70 75 74 65 | 72 20 6d 6f 76 65 73 20 |(compute|r moves |
|00001050| 66 69 72 73 74 29 2c 20 | 0a 58 28 32 29 20 63 6f |first), |.X(2) co|
|00001060| 6d 70 75 74 65 72 20 76 | 73 2e 20 68 75 6d 61 6e |mputer v|s. human|
|00001070| 20 28 63 6f 6d 70 75 74 | 65 72 20 6d 6f 76 65 73 | (comput|er moves|
|00001080| 20 66 69 72 73 74 29 2c | 0a 58 28 33 29 20 68 75 | first),|.X(3) hu|
|00001090| 6d 61 6e 20 76 73 2e 20 | 63 6f 6d 70 75 74 65 72 |man vs. |computer|
|000010a0| 20 28 68 75 6d 61 6e 20 | 6d 6f 76 65 73 20 66 69 | (human |moves fi|
|000010b0| 72 73 74 29 2e 0a 58 49 | 6e 20 74 68 65 20 63 68 |rst)..XI|n the ch|
|000010c0| 61 6c 6c 65 6e 67 65 20 | 6d 6f 64 65 2c 0a 58 79 |allenge |mode,.Xy|
|000010d0| 6f 75 20 63 61 6e 20 6e | 6f 74 20 75 6e 64 6f 20 |ou can n|ot undo |
|000010e0| 6f 72 20 67 65 74 20 73 | 75 67 67 65 73 74 69 6f |or get s|uggestio|
|000010f0| 6e 73 0a 58 66 72 6f 6d | 20 74 68 65 20 63 6f 6d |ns.Xfrom| the com|
|00001100| 70 75 74 65 72 2e 20 20 | 49 66 20 79 6f 75 20 62 |puter. |If you b|
|00001110| 65 61 74 20 74 68 65 20 | 63 6f 6d 70 75 74 65 72 |eat the |computer|
|00001120| 2c 20 79 6f 75 72 0a 58 | 6e 61 6d 65 20 77 6f 75 |, your.X|name wou|
|00001130| 6c 64 20 62 65 20 61 64 | 64 65 64 20 69 6e 74 6f |ld be ad|ded into|
|00001140| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 20 77 69 6e | the lis|t of win|
|00001150| 6e 65 72 73 2e 0a 58 2e | 4c 50 0a 58 48 61 76 65 |ners..X.|LP.XHave|
|00001160| 20 66 75 6e 21 0a 58 0a | 58 2e 53 48 20 42 55 47 | fun!.X.|X.SH BUG|
|00001170| 53 0a 58 2e 6e 66 0a 58 | 50 6c 65 61 73 65 20 73 |S.X.nf.X|Please s|
|00001180| 65 6e 64 20 62 75 67 73 | 20 74 6f 20 22 68 73 69 |end bugs| to "hsi|
|00001190| 65 68 63 68 40 63 73 2e | 6e 79 75 2e 65 64 75 22 |ehch@cs.|nyu.edu"|
|000011a0| 2e 0a 58 2e 4c 50 0a 58 | 54 68 69 73 20 70 72 6f |..X.LP.X|This pro|
|000011b0| 67 72 61 6d 20 64 6f 65 | 73 20 6e 6f 74 20 68 61 |gram doe|s not ha|
|000011c0| 76 65 20 61 6e 79 20 6c | 65 61 72 6e 69 6e 67 20 |ve any l|earning |
|000011d0| 61 62 69 6c 69 74 79 2e | 20 20 0a 58 59 6f 75 20 |ability.| .XYou |
|000011e0| 63 6f 75 6c 64 20 75 73 | 65 20 74 68 65 20 73 61 |could us|e the sa|
|000011f0| 6d 65 20 73 74 72 61 74 | 65 67 79 20 74 6f 20 62 |me strat|egy to b|
|00001200| 65 61 74 20 69 74 20 61 | 67 61 69 6e 20 61 6e 64 |eat it a|gain and|
|00001210| 20 61 67 61 69 6e 2e 0a | 58 2e 66 69 0a 58 2e 73 | again..|X.fi.X.s|
|00001220| 70 0a 58 2e 53 48 20 41 | 55 54 48 4f 52 0a 58 43 |p.X.SH A|UTHOR.XC|
|00001230| 68 69 68 2d 48 75 6e 67 | 20 48 73 69 65 68 0a 58 |hih-Hung| Hsieh.X|
|00001240| 2e 73 70 0a 58 2e 53 48 | 20 22 53 45 45 20 41 4c |.sp.X.SH| "SEE AL|
|00001250| 53 4f 22 0a 58 78 6d 61 | 6b 65 35 20 5c 2d 20 61 |SO".Xxma|ke5 \- a|
|00001260| 20 62 65 74 74 65 72 20 | 76 65 72 73 69 6f 6e 20 | better |version |
|00001270| 77 69 74 68 20 61 6e 20 | 58 20 69 6e 74 65 72 66 |with an |X interf|
|00001280| 61 63 65 2e 0a 58 0a 58 | 0a 58 0a 45 4e 44 5f 4f |ace..X.X|.X.END_O|
|00001290| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 32 |F_FILE.i|f test 2|
|000012a0| 30 33 35 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |035 -ne |`wc -c <|
|000012b0| 27 63 6d 61 6b 65 35 2e | 36 27 60 3b 20 74 68 65 |'cmake5.|6'`; the|
|000012c0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|000012d0| 20 5c 22 27 63 6d 61 6b | 65 35 2e 36 27 5c 22 20 | \"'cmak|e5.6'\" |
|000012e0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000012f0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00001300| 6e 64 20 6f 66 20 27 63 | 6d 61 6b 65 35 2e 36 27 |nd of 'c|make5.6'|
|00001310| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00001320| 6c 69 6e 65 5f 76 61 6c | 2e 69 6e 63 27 20 2d 61 |line_val|.inc' -a|
|00001330| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00001340| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00001350| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00001360| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00001370| 69 6c 65 20 5c 22 27 6c | 69 6e 65 5f 76 61 6c 2e |ile \"'l|ine_val.|
|00001380| 69 6e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |inc'\".e|lse.echo|
|00001390| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|000013a0| 67 20 5c 22 27 6c 69 6e | 65 5f 76 61 6c 2e 69 6e |g \"'lin|e_val.in|
|000013b0| 63 27 5c 22 20 5c 28 31 | 35 35 30 20 63 68 61 72 |c'\" \(1|550 char|
|000013c0| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000013d0| 5e 58 2f 2f 22 20 3e 27 | 6c 69 6e 65 5f 76 61 6c |^X//" >'|line_val|
|000013e0| 2e 69 6e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |.inc' <<|'END_OF_|
|000013f0| 46 49 4c 45 27 0a 58 63 | 6f 6e 73 74 20 6c 69 6e |FILE'.Xc|onst lin|
|00001400| 65 5f 76 61 6c 5f 74 79 | 70 65 20 6c 69 6e 65 5f |e_val_ty|pe line_|
|00001410| 76 61 6c 20 3d 20 7b 0a | 58 32 30 2c 32 30 2c 32 |val = {.|X20,20,2|
|00001420| 30 2c 32 30 2c 32 30 2c | 32 30 2c 32 30 2c 32 30 |0,20,20,|20,20,20|
|00001430| 2c 32 30 2c 31 39 2c 32 | 30 2c 32 30 2c 32 30 2c |,20,19,2|0,20,20,|
|00001440| 31 36 2c 31 31 2c 32 30 | 2c 32 30 2c 32 30 2c 31 |16,11,20|,20,20,1|
|00001450| 36 2c 31 31 2c 0a 58 31 | 31 2c 32 30 2c 32 30 2c |6,11,.X1|1,20,20,|
|00001460| 32 30 2c 31 31 2c 20 35 | 2c 20 35 2c 20 31 2c 32 |20,11, 5|, 5, 1,2|
|00001470| 30 2c 31 39 2c 31 36 2c | 31 38 2c 31 36 2c 31 34 |0,19,16,|18,16,14|
|00001480| 2c 31 31 2c 31 38 2c 32 | 30 2c 31 36 2c 31 31 2c |,11,18,2|0,16,11,|
|00001490| 31 36 2c 0a 58 32 30 2c | 31 31 2c 32 30 2c 31 36 |16,.X20,|11,20,16|
|000014a0| 2c 31 34 2c 32 30 2c 31 | 36 2c 31 31 2c 31 34 2c |,14,20,1|6,11,14,|
|000014b0| 31 31 2c 20 38 2c 20 35 | 2c 31 34 2c 31 36 2c 31 |11, 8, 5|,14,16,1|
|000014c0| 31 2c 32 30 2c 31 31 2c | 20 35 2c 31 31 2c 32 30 |1,20,11,| 5,11,20|
|000014d0| 2c 0a 58 20 35 2c 32 30 | 2c 31 31 2c 31 31 2c 32 |,.X 5,20|,11,11,2|
|000014e0| 30 2c 32 30 2c 32 30 2c | 31 36 2c 31 31 2c 31 34 |0,20,20,|16,11,14|
|000014f0| 2c 31 31 2c 20 38 2c 20 | 35 2c 31 34 2c 31 31 2c |,11, 8, |5,14,11,|
|00001500| 20 38 2c 20 35 2c 20 36 | 2c 32 30 2c 31 31 2c 0a | 8, 5, 6|,20,11,.|
|00001510| 58 20 35 2c 31 31 2c 32 | 30 2c 20 35 2c 32 30 2c |X 5,11,2|0, 5,20,|
|00001520| 31 31 2c 20 38 2c 31 31 | 2c 20 35 2c 20 33 2c 20 |11, 8,11|, 5, 3, |
|00001530| 32 2c 32 30 2c 31 31 2c | 20 35 2c 20 38 2c 20 35 |2,20,11,| 5, 8, 5|
|00001540| 2c 20 32 2c 20 31 2c 20 | 38 2c 31 31 2c 0a 58 20 |, 2, 1, |8,11,.X |
|00001550| 35 2c 32 30 2c 20 32 2c | 20 35 2c 20 31 2c 32 30 |5,20, 2,| 5, 1,20|
|00001560| 2c 20 35 2c 20 31 2c 20 | 35 2c 32 30 2c 20 31 2c |, 5, 1, |5,20, 1,|
|00001570| 32 30 2c 20 35 2c 20 35 | 2c 32 30 2c 32 30 2c 20 |20, 5, 5|,20,20, |
|00001580| 31 2c 20 31 2c 32 30 2c | 32 30 2c 0a 58 31 39 2c |1, 1,20,|20,.X19,|
|00001590| 31 38 2c 31 36 2c 31 38 | 2c 31 36 2c 31 34 2c 31 |18,16,18|,16,14,1|
|000015a0| 31 2c 31 38 2c 31 36 2c | 31 34 2c 31 31 2c 31 34 |1,18,16,|14,11,14|
|000015b0| 2c 31 31 2c 20 38 2c 20 | 35 2c 31 37 2c 31 36 2c |,11, 8, |5,17,16,|
|000015c0| 31 36 2c 32 30 2c 31 36 | 2c 0a 58 31 34 2c 31 36 |16,20,16|,.X14,16|
|000015d0| 2c 31 31 2c 31 36 2c 31 | 36 2c 31 34 2c 31 31 2c |,11,16,1|6,14,11,|
|000015e0| 31 34 2c 31 31 2c 20 38 | 2c 20 35 2c 31 36 2c 31 |14,11, 8|, 5,16,1|
|000015f0| 35 2c 31 36 2c 31 34 2c | 31 31 2c 31 34 2c 31 36 |5,16,14,|11,14,16|
|00001600| 2c 31 31 2c 32 30 2c 0a | 58 31 34 2c 31 34 2c 31 |,11,20,.|X14,14,1|
|00001610| 36 2c 31 31 2c 31 31 2c | 20 38 2c 31 31 2c 20 35 |6,11,11,| 8,11, 5|
|00001620| 2c 31 33 2c 31 32 2c 31 | 32 2c 31 31 2c 31 31 2c |,13,12,1|2,11,11,|
|00001630| 32 30 2c 31 31 2c 31 31 | 2c 32 30 2c 32 30 2c 31 |20,11,11|,20,20,1|
|00001640| 31 2c 31 31 2c 0a 58 31 | 31 2c 20 38 2c 31 36 2c |1,11,.X1|1, 8,16,|
|00001650| 31 31 2c 31 31 2c 20 35 | 2c 31 31 2c 31 30 2c 31 |11,11, 5|,11,10,1|
|00001660| 30 2c 20 39 2c 31 36 2c | 31 34 2c 31 31 2c 31 34 |0, 9,16,|14,11,14|
|00001670| 2c 31 31 2c 20 38 2c 20 | 35 2c 31 34 2c 31 34 2c |,11, 8, |5,14,14,|
|00001680| 31 31 2c 0a 58 31 36 2c | 20 38 2c 31 31 2c 20 35 |11,.X16,| 8,11, 5|
|00001690| 2c 32 30 2c 31 33 2c 31 | 32 2c 31 32 2c 31 30 2c |,20,13,1|2,12,10,|
|000016a0| 31 30 2c 31 31 2c 31 31 | 2c 32 30 2c 31 31 2c 20 |10,11,11|,20,11, |
|000016b0| 38 2c 31 31 2c 20 35 2c | 31 31 2c 31 31 2c 20 38 |8,11, 5,|11,11, 8|
|000016c0| 2c 0a 58 31 31 2c 31 31 | 2c 32 30 2c 20 35 2c 32 |,.X11,11|,20, 5,2|
|000016d0| 30 2c 31 31 2c 31 30 2c | 31 30 2c 20 39 2c 20 37 |0,11,10,|10, 9, 7|
|000016e0| 2c 20 36 2c 31 31 2c 20 | 38 2c 20 35 2c 20 38 2c |, 6,11, |8, 5, 8,|
|000016f0| 31 31 2c 20 35 2c 32 30 | 2c 20 38 2c 20 38 2c 0a |11, 5,20|, 8, 8,.|
|00001700| 58 31 31 2c 31 31 2c 20 | 35 2c 20 35 2c 32 30 2c |X11,11, |5, 5,20,|
|00001710| 32 30 2c 20 38 2c 20 37 | 2c 20 37 2c 20 36 2c 31 |20, 8, 7|, 7, 6,1|
|00001720| 30 2c 20 39 2c 20 39 2c | 20 35 2c 20 35 2c 32 30 |0, 9, 9,| 5, 5,20|
|00001730| 2c 20 35 2c 20 35 2c 32 | 30 2c 32 30 2c 0a 58 20 |, 5, 5,2|0,20,.X |
|00001740| 35 2c 20 35 2c 20 35 2c | 20 35 2c 32 30 2c 32 30 |5, 5, 5,| 5,20,20|
|00001750| 2c 32 30 2c 32 30 2c 20 | 35 2c 20 34 2c 20 34 2c |,20,20, |5, 4, 4,|
|00001760| 20 33 2c 20 34 2c 20 33 | 2c 20 33 2c 20 32 2c 31 | 3, 4, 3|, 3, 2,1|
|00001770| 36 2c 31 34 2c 31 31 2c | 31 34 2c 0a 58 31 31 2c |6,14,11,|14,.X11,|
|00001780| 20 38 2c 20 35 2c 31 32 | 2c 31 30 2c 20 37 2c 20 | 8, 5,12|,10, 7, |
|00001790| 34 2c 20 36 2c 20 33 2c | 20 32 2c 20 31 2c 31 32 |4, 6, 3,| 2, 1,12|
|000017a0| 2c 31 34 2c 31 30 2c 31 | 34 2c 20 37 2c 31 31 2c |,14,10,1|4, 7,11,|
|000017b0| 20 34 2c 31 36 2c 20 36 | 2c 0a 58 31 31 2c 31 31 | 4,16, 6|,.X11,11|
|000017c0| 2c 32 30 2c 31 31 2c 20 | 38 2c 31 31 2c 20 35 2c |,20,11, |8,11, 5,|
|000017d0| 31 30 2c 20 39 2c 20 36 | 2c 20 33 2c 20 38 2c 20 |10, 9, 6|, 3, 8, |
|000017e0| 35 2c 20 32 2c 20 31 2c | 31 30 2c 31 31 2c 20 39 |5, 2, 1,|10,11, 9|
|000017f0| 2c 31 31 2c 20 36 2c 0a | 58 20 38 2c 20 33 2c 31 |,11, 6,.|X 8, 3,1|
|00001800| 31 2c 20 38 2c 31 31 2c | 31 31 2c 20 38 2c 20 35 |1, 8,11,|11, 8, 5|
|00001810| 2c 20 38 2c 31 31 2c 20 | 35 2c 32 30 2c 20 37 2c |, 8,11, |5,20, 7,|
|00001820| 20 36 2c 20 39 2c 20 33 | 2c 20 33 2c 20 32 2c 20 | 6, 9, 3|, 3, 2, |
|00001830| 35 2c 20 31 2c 0a 58 20 | 37 2c 20 38 2c 20 36 2c |5, 1,.X |7, 8, 6,|
|00001840| 20 38 2c 20 39 2c 31 31 | 2c 20 33 2c 31 31 2c 20 | 8, 9,11|, 3,11, |
|00001850| 33 2c 20 35 2c 20 32 2c | 20 35 2c 20 35 2c 32 30 |3, 5, 2,| 5, 5,20|
|00001860| 2c 20 35 2c 20 35 2c 32 | 30 2c 32 30 2c 20 34 2c |, 5, 5,2|0,20, 4,|
|00001870| 20 33 2c 0a 58 20 33 2c | 20 32 2c 31 31 2c 20 35 | 3,.X 3,| 2,11, 5|
|00001880| 2c 20 35 2c 20 31 2c 20 | 34 2c 20 35 2c 20 33 2c |, 5, 1, |4, 5, 3,|
|00001890| 20 35 2c 20 33 2c 20 35 | 2c 20 32 2c 20 35 2c 31 | 5, 3, 5|, 2, 5,1|
|000018a0| 31 2c 32 30 2c 20 35 2c | 32 30 2c 31 31 2c 20 38 |1,20, 5,|20,11, 8|
|000018b0| 2c 0a 58 20 35 2c 20 36 | 2c 20 33 2c 20 32 2c 20 |,.X 5, 6|, 3, 2, |
|000018c0| 31 2c 20 36 2c 20 38 2c | 20 33 2c 31 31 2c 20 32 |1, 6, 8,| 3,11, 2|
|000018d0| 2c 20 35 2c 20 31 2c 32 | 30 2c 20 36 2c 20 36 2c |, 5, 1,2|0, 6, 6,|
|000018e0| 20 38 2c 20 38 2c 20 33 | 2c 20 33 2c 31 31 2c 0a | 8, 8, 3|, 3,11,.|
|000018f0| 58 31 31 2c 20 32 2c 20 | 32 2c 20 35 2c 20 35 2c |X11, 2, |2, 5, 5,|
|00001900| 20 31 2c 20 35 2c 20 35 | 2c 32 30 2c 20 33 2c 20 | 1, 5, 5|,20, 3, |
|00001910| 32 2c 20 35 2c 20 31 2c | 20 33 2c 20 35 2c 20 32 |2, 5, 1,| 3, 5, 2|
|00001920| 2c 20 35 2c 20 35 2c 32 | 30 2c 20 31 2c 0a 58 32 |, 5, 5,2|0, 1,.X2|
|00001930| 30 2c 20 33 2c 20 33 2c | 20 35 2c 20 35 2c 20 32 |0, 3, 3,| 5, 5, 2|
|00001940| 2c 20 32 2c 20 35 2c 20 | 35 2c 20 35 2c 20 35 2c |, 2, 5, |5, 5, 5,|
|00001950| 32 30 2c 32 30 2c 20 31 | 2c 20 31 2c 20 35 2c 20 |20,20, 1|, 1, 5, |
|00001960| 32 2c 20 31 2c 20 32 2c | 20 35 2c 0a 58 20 31 2c |2, 1, 2,| 5,.X 1,|
|00001970| 32 30 2c 20 32 2c 20 32 | 2c 20 35 2c 20 35 2c 20 |20, 2, 2|, 5, 5, |
|00001980| 31 2c 20 31 2c 32 30 2c | 32 30 2c 20 32 2c 20 32 |1, 1,20,|20, 2, 2|
|00001990| 2c 20 32 2c 20 32 2c 20 | 35 2c 20 35 2c 20 35 2c |, 2, 2, |5, 5, 5,|
|000019a0| 20 35 2c 20 31 2c 20 31 | 2c 0a 58 20 31 2c 20 31 | 5, 1, 1|,.X 1, 1|
|000019b0| 2c 32 30 2c 32 30 2c 32 | 30 2c 20 31 2c 20 31 2c |,20,20,2|0, 1, 1,|
|000019c0| 32 30 2c 20 31 2c 20 31 | 2c 32 30 2c 32 30 2c 20 |20, 1, 1|,20,20, |
|000019d0| 31 2c 20 31 2c 20 31 2c | 20 31 2c 32 30 2c 32 30 |1, 1, 1,| 1,20,20|
|000019e0| 2c 32 30 2c 32 30 2c 0a | 58 20 31 2c 20 31 2c 20 |,20,20,.|X 1, 1, |
|000019f0| 31 2c 20 31 2c 20 31 2c | 20 31 2c 20 31 2c 20 31 |1, 1, 1,| 1, 1, 1|
|00001a00| 2c 32 30 2c 32 30 2c 32 | 30 2c 32 30 2c 32 30 2c |,20,20,2|0,20,20,|
|00001a10| 32 30 2c 32 30 2c 32 30 | 2c 32 30 7d 3b 0a 45 4e |20,20,20|,20};.EN|
|00001a20| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00001a30| 74 20 31 35 35 30 20 2d | 6e 65 20 60 77 63 20 2d |t 1550 -|ne `wc -|
|00001a40| 63 20 3c 27 6c 69 6e 65 | 5f 76 61 6c 2e 69 6e 63 |c <'line|_val.inc|
|00001a50| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00001a60| 6f 20 73 68 61 72 3a 20 | 5c 22 27 6c 69 6e 65 5f |o shar: |\"'line_|
|00001a70| 76 61 6c 2e 69 6e 63 27 | 5c 22 20 75 6e 70 61 63 |val.inc'|\" unpac|
|00001a80| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001a90| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00001aa0| 20 27 6c 69 6e 65 5f 76 | 61 6c 2e 69 6e 63 27 0a | 'line_v|al.inc'.|
|00001ab0| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 70 |fi.if te|st -f 'p|
|00001ac0| 72 69 6e 74 68 65 6c 70 | 2e 63 27 20 2d 61 20 22 |rinthelp|.c' -a "|
|00001ad0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00001ae0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00001af0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00001b00| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00001b10| 65 20 5c 22 27 70 72 69 | 6e 74 68 65 6c 70 2e 63 |e \"'pri|nthelp.c|
|00001b20| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00001b30| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00001b40| 22 27 70 72 69 6e 74 68 | 65 6c 70 2e 63 27 5c 22 |"'printh|elp.c'\"|
|00001b50| 20 5c 28 36 39 20 63 68 | 61 72 61 63 74 65 72 73 | \(69 ch|aracters|
|00001b60| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00001b70| 3e 27 70 72 69 6e 74 68 | 65 6c 70 2e 63 27 20 3c |>'printh|elp.c' <|
|00001b80| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00001b90| 65 78 74 65 72 6e 20 63 | 68 61 72 20 2a 68 65 6c |extern c|har *hel|
|00001ba0| 70 74 65 78 74 3b 0a 58 | 6d 61 69 6e 28 29 7b 0a |ptext;.X|main(){.|
|00001bb0| 58 20 20 70 72 69 6e 74 | 66 28 22 25 73 22 2c 68 |X print|f("%s",h|
|00001bc0| 65 6c 70 74 65 78 74 29 | 3b 0a 58 20 20 65 78 69 |elptext)|;.X exi|
|00001bd0| 74 28 30 29 3b 0a 58 7d | 0a 45 4e 44 5f 4f 46 5f |t(0);.X}|.END_OF_|
|00001be0| 46 49 4c 45 0a 69 66 20 | 74 65 73 74 20 36 39 20 |FILE.if |test 69 |
|00001bf0| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 70 72 69 |-ne `wc |-c <'pri|
|00001c00| 6e 74 68 65 6c 70 2e 63 | 27 60 3b 20 74 68 65 6e |nthelp.c|'`; then|
|00001c10| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00001c20| 5c 22 27 70 72 69 6e 74 | 68 65 6c 70 2e 63 27 5c |\"'print|help.c'\|
|00001c30| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00001c40| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00001c50| 20 65 6e 64 20 6f 66 20 | 27 70 72 69 6e 74 68 65 | end of |'printhe|
|00001c60| 6c 70 2e 63 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |lp.c'.fi|.if test|
|00001c70| 20 2d 66 20 27 78 6d 61 | 6b 65 35 2e 68 27 20 2d | -f 'xma|ke5.h' -|
|00001c80| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00001c90| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00001ca0| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00001cb0| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00001cc0| 66 69 6c 65 20 5c 22 27 | 78 6d 61 6b 65 35 2e 68 |file \"'|xmake5.h|
|00001cd0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00001ce0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00001cf0| 22 27 78 6d 61 6b 65 35 | 2e 68 27 5c 22 20 5c 28 |"'xmake5|.h'\" \(|
|00001d00| 39 38 32 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |982 char|acters\)|
|00001d10| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00001d20| 78 6d 61 6b 65 35 2e 68 | 27 20 3c 3c 27 45 4e 44 |xmake5.h|' <<'END|
|00001d30| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 64 65 66 69 |_OF_FILE|'.X#defi|
|00001d40| 6e 65 20 20 42 6f 61 72 | 64 4c 69 6e 65 73 20 31 |ne Boar|dLines 1|
|00001d50| 39 0a 58 23 64 65 66 69 | 6e 65 20 20 42 6f 61 72 |9.X#defi|ne Boar|
|00001d60| 64 53 69 7a 65 20 20 32 | 31 0a 58 23 64 65 66 69 |dSize 2|1.X#defi|
|00001d70| 6e 65 20 20 65 6d 70 74 | 79 5f 73 74 6f 6e 65 20 |ne empt|y_stone |
|00001d80| 32 0a 58 23 64 65 66 69 | 6e 65 20 20 62 6c 61 63 |2.X#defi|ne blac|
|00001d90| 6b 5f 73 74 6f 6e 65 20 | 30 0a 58 23 64 65 66 69 |k_stone |0.X#defi|
|00001da0| 6e 65 20 20 77 68 69 74 | 65 5f 73 74 6f 6e 65 20 |ne whit|e_stone |
|00001db0| 31 0a 58 0a 58 23 64 65 | 66 69 6e 65 20 6d 61 78 |1.X.X#de|fine max|
|00001dc0| 28 61 2c 62 29 20 20 28 | 28 61 3e 62 29 3f 61 3a |(a,b) (|(a>b)?a:|
|00001dd0| 62 29 0a 58 23 64 65 66 | 69 6e 65 20 42 6f 61 72 |b).X#def|ine Boar|
|00001de0| 64 58 28 78 29 20 28 78 | 25 42 6f 61 72 64 53 69 |dX(x) (x|%BoardSi|
|00001df0| 7a 65 2d 31 29 0a 58 23 | 64 65 66 69 6e 65 20 42 |ze-1).X#|define B|
|00001e00| 6f 61 72 64 59 28 78 29 | 20 28 78 2f 42 6f 61 72 |oardY(x)| (x/Boar|
|00001e10| 64 53 69 7a 65 2d 31 29 | 0a 58 0a 58 65 78 74 65 |dSize-1)|.X.Xexte|
|00001e20| 72 6e 20 44 69 73 70 6c | 61 79 20 20 2a 64 69 73 |rn Displ|ay *dis|
|00001e30| 70 6c 61 79 3b 0a 58 65 | 78 74 65 72 6e 20 69 6e |play;.Xe|xtern in|
|00001e40| 74 20 20 20 20 20 20 73 | 63 72 65 65 6e 5f 6e 75 |t s|creen_nu|
|00001e50| 6d 3b 0a 58 65 78 74 65 | 72 6e 20 57 69 64 67 65 |m;.Xexte|rn Widge|
|00001e60| 74 20 20 20 74 6f 70 6c | 65 76 65 6c 3b 0a 58 0a |t topl|evel;.X.|
|00001e70| 58 65 78 74 65 72 6e 20 | 63 68 61 72 20 20 20 70 |Xextern |char p|
|00001e80| 6c 61 79 65 72 5f 6e 61 | 6d 65 5b 32 5d 3b 0a 58 |layer_na|me[2];.X|
|00001e90| 65 78 74 65 72 6e 20 69 | 6e 74 20 20 20 20 73 74 |extern i|nt st|
|00001ea0| 65 70 2c 20 70 6c 61 79 | 65 72 3b 20 20 20 20 20 |ep, play|er; |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 75 73 65 64 | | /* used|
|00001ec0| 20 69 6e 20 6d 61 6b 65 | 35 2e 43 20 20 2a 2f 0a | in make|5.C */.|
|00001ed0| 58 65 78 74 65 72 6e 20 | 69 6e 74 20 20 20 20 67 |Xextern |int g|
|00001ee0| 61 6d 65 5f 6f 76 65 72 | 3b 0a 58 65 78 74 65 72 |ame_over|;.Xexter|
|00001ef0| 6e 20 69 6e 74 20 20 20 | 20 6c 61 73 74 5f 6d 6f |n int | last_mo|
|00001f00| 76 65 5f 72 65 63 2c 20 | 6d 6f 76 65 5f 72 65 63 |ve_rec, |move_rec|
|00001f10| 5b 33 36 30 5d 3b 0a 58 | 65 78 74 65 72 6e 20 63 |[360];.X|extern c|
|00001f20| 68 61 72 20 20 20 62 6f | 61 72 64 5f 73 74 6f 6e |har bo|ard_ston|
|00001f30| 65 73 5b 42 6f 61 72 64 | 4c 69 6e 65 73 5d 5b 42 |es[Board|Lines][B|
|00001f40| 6f 61 72 64 4c 69 6e 65 | 73 5d 3b 0a 58 0a 58 2f |oardLine|s];.X.X/|
|00001f50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001f90| 2a 2a 2a 2a 2a 2a 2f 0a | 58 65 78 74 65 72 6e 20 |******/.|Xextern |
|00001fa0| 69 6e 74 20 20 6e 75 6d | 5f 6f 66 5f 73 75 67 67 |int num|_of_sugg|
|00001fb0| 65 73 74 69 6f 6e 2c 20 | 73 75 67 67 65 73 74 5f |estion, |suggest_|
|00001fc0| 70 6f 73 69 74 69 6f 6e | 5b 5d 3b 0a 58 65 78 74 |position|[];.Xext|
|00001fd0| 65 72 6e 20 63 68 61 72 | 20 2a 68 65 6c 70 74 65 |ern char| *helpte|
|00001fe0| 78 74 3b 0a 58 65 78 74 | 65 72 6e 20 76 6f 69 64 |xt;.Xext|ern void|
|00001ff0| 20 69 6e 69 74 5f 64 61 | 74 61 28 29 3b 20 20 20 | init_da|ta(); |
|00002000| 20 20 20 20 2f 2a 20 69 | 6e 20 6d 61 6b 65 35 2e | /* i|n make5.|
|00002010| 43 20 2a 2f 0a 58 65 78 | 74 65 72 6e 20 63 68 61 |C */.Xex|tern cha|
|00002020| 72 20 2a 67 65 74 5f 77 | 61 72 6e 69 6e 67 28 29 |r *get_w|arning()|
|00002030| 3b 0a 58 65 78 74 65 72 | 6e 20 69 6e 74 20 20 69 |;.Xexter|n int i|
|00002040| 73 5f 67 61 6d 65 5f 6f | 76 65 72 28 29 3b 0a 58 |s_game_o|ver();.X|
|00002050| 65 78 74 65 72 6e 20 76 | 6f 69 64 20 74 61 6b 65 |extern v|oid take|
|00002060| 5f 6f 75 74 28 29 3b 0a | 58 2f 2a 2a 2a 2a 2a 2a |_out();.|X/******|
|00002070| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002080| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000020a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000020b0| 2f 0a 58 65 78 74 65 72 | 6e 20 76 6f 69 64 20 63 |/.Xexter|n void c|
|000020c0| 68 65 63 6b 5f 63 6f 6d | 70 75 74 65 72 5f 6d 6f |heck_com|puter_mo|
|000020d0| 76 65 28 29 2c 20 6d 61 | 6b 65 5f 63 6f 6d 70 75 |ve(), ma|ke_compu|
|000020e0| 74 65 72 5f 6d 6f 76 65 | 28 29 2c 20 6d 61 6b 65 |ter_move|(), make|
|000020f0| 5f 61 5f 6d 6f 76 65 28 | 29 3b 0a 58 65 78 74 65 |_a_move(|);.Xexte|
|00002100| 72 6e 20 76 6f 69 64 20 | 6d 61 72 6b 5f 6c 61 73 |rn void |mark_las|
|00002110| 74 5f 6d 6f 76 65 28 29 | 2c 20 75 6e 6d 61 72 6b |t_move()|, unmark|
|00002120| 5f 6c 61 73 74 5f 6d 6f | 76 65 28 29 3b 0a 45 4e |_last_mo|ve();.EN|
|00002130| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00002140| 74 20 39 38 32 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 982 -n|e `wc -c|
|00002150| 20 3c 27 78 6d 61 6b 65 | 35 2e 68 27 60 3b 20 74 | <'xmake|5.h'`; t|
|00002160| 68 65 6e 0a 20 20 20 20 | 65 63 68 6f 20 73 68 61 |hen. |echo sha|
|00002170| 72 3a 20 5c 22 27 78 6d | 61 6b 65 35 2e 68 27 5c |r: \"'xm|ake5.h'\|
|00002180| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002190| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|000021a0| 20 65 6e 64 20 6f 66 20 | 27 78 6d 61 6b 65 35 2e | end of |'xmake5.|
|000021b0| 68 27 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |h'.fi.ec|ho shar:|
|000021c0| 20 45 6e 64 20 6f 66 20 | 61 72 63 68 69 76 65 20 | End of |archive |
|000021d0| 33 20 5c 28 6f 66 20 33 | 5c 29 2e 0a 63 70 20 2f |3 \(of 3|\)..cp /|
|000021e0| 64 65 76 2f 6e 75 6c 6c | 20 61 72 6b 33 69 73 64 |dev/null| ark3isd|
|000021f0| 6f 6e 65 0a 4d 49 53 53 | 49 4e 47 3d 22 22 0a 66 |one.MISS|ING="".f|
|00002200| 6f 72 20 49 20 69 6e 20 | 31 20 32 20 33 20 3b 20 |or I in |1 2 3 ; |
|00002210| 64 6f 0a 20 20 20 20 69 | 66 20 74 65 73 74 20 21 |do. i|f test !|
|00002220| 20 2d 66 20 61 72 6b 24 | 7b 49 7d 69 73 64 6f 6e | -f ark$|{I}isdon|
|00002230| 65 20 3b 20 74 68 65 6e | 0a 09 4d 49 53 53 49 4e |e ; then|..MISSIN|
|00002240| 47 3d 22 24 7b 4d 49 53 | 53 49 4e 47 7d 20 24 7b |G="${MIS|SING} ${|
|00002250| 49 7d 22 0a 20 20 20 20 | 66 69 0a 64 6f 6e 65 0a |I}". |fi.done.|
|00002260| 69 66 20 74 65 73 74 20 | 22 24 7b 4d 49 53 53 49 |if test |"${MISSI|
|00002270| 4e 47 7d 22 20 3d 20 22 | 22 20 3b 20 74 68 65 6e |NG}" = "|" ; then|
|00002280| 0a 20 20 20 20 65 63 68 | 6f 20 59 6f 75 20 68 61 |. ech|o You ha|
|00002290| 76 65 20 75 6e 70 61 63 | 6b 65 64 20 61 6c 6c 20 |ve unpac|ked all |
|000022a0| 33 20 61 72 63 68 69 76 | 65 73 2e 0a 20 20 20 20 |3 archiv|es.. |
|000022b0| 72 6d 20 2d 66 20 61 72 | 6b 5b 31 2d 39 5d 69 73 |rm -f ar|k[1-9]is|
|000022c0| 64 6f 6e 65 0a 65 6c 73 | 65 0a 20 20 20 20 65 63 |done.els|e. ec|
|000022d0| 68 6f 20 59 6f 75 20 73 | 74 69 6c 6c 20 6e 65 65 |ho You s|till nee|
|000022e0| 64 20 74 6f 20 75 6e 70 | 61 63 6b 20 74 68 65 20 |d to unp|ack the |
|000022f0| 66 6f 6c 6c 6f 77 69 6e | 67 20 61 72 63 68 69 76 |followin|g archiv|
|00002300| 65 73 3a 0a 20 20 20 20 | 65 63 68 6f 20 22 20 20 |es:. |echo " |
|00002310| 20 20 20 20 20 20 22 20 | 24 7b 4d 49 53 53 49 4e | " |${MISSIN|
|00002320| 47 7d 0a 66 69 0a 23 23 | 20 20 45 6e 64 20 6f 66 |G}.fi.##| End of|
|00002330| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2e 0a | shell a|rchive..|
|00002340| 65 78 69 74 20 30 0a | |exit 0. | |
+--------+-------------------------+-------------------------+--------+--------+