Home » Personal collection » Acorn ADFS disks » Electron » Acornsoft_Educational.ADF » Me+MyMicro/PAIRS

Me+MyMicro/PAIRS

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » Acornsoft_Educational.ADF
Filename: Me+MyMicro/PAIRS
Read OK:
File size: 15EC bytes
Load address: FFFF1B00
Exec address: FFFF8023
File contents
    1 REM         ...Pairs...
    2 
    3 REM     ...Electron Version 1...
    4 
    6 REM Copyright (c) Acornsoft 1984
    7 
   10 MODE 2
   11 
   15 PROCinitialise
   20 
   24 REPEAT
   26   PROCguess_two_cards
   28 UNTIL score=3
   30 PROCtunes
   32 
   34 COLOUR132
   36 PRINT TAB(0,28);"Another game (Y/N) ?"
   38 REPEAT key=INSTR("YyNn",GET$)
   39 UNTIL key<>0
   40 IF key<3 THEN RUN
   44 *FX12,0
   46 MODE 6:PRINT'''':END
   47 
   48 REM*** Procedure definitions ***
   50 
   51DEF PROCinitialise
   52 COLOUR132
   54 CLS: REM Blue background
   58 DIM w$(3),a$(6)
   60 VDU23,1,0;0;0;0;
   62 REM Turn off auto-repeat
   64 *FX11,0
   66 REM Define Position Functions
   68 DEF FNy(n)=9+12*((n-1) DIV 3)
   70 DEF FNx(n)=2+5*((n-1) MOD 3)
   76 
   80 score=0:tries=0
   82 PROCdraw_frames
   84 PROCshuffle_cards
   86 FORn=1TO6
   88  PROCblank
   90  PROCprint_number
   92 NEXT
   94 COLOUR132:COLOUR 3
   96 PRINT TAB(3,4);"Tries = 0"
   98ENDPROC
   99 
  100DEF PROCblank
  110 COLOUR 7+128
  120 FOR t=0 TO 3
  122 PRINT TAB(FNx(n),FNy(n)+t);"    "
  124 NEXT t
  127ENDPROC
  128 
  130DEF PROCprint_number
  131 COLOUR 1
  134 PRINT TAB(FNx(n)+1,FNy(n)+1);n
  137ENDPROC
  138 
  140DEF PROCdraw_frames
  150 FOR a=736 TO 200 STEP -382
  155  FOR b=120 TO 860 STEP 320
  160   GCOL0,1
  165   MOVEb,a:PLOT1,264,0:PLOT1,0,-132:PLOT1,-264,0:PLOT1,0,132
  170  NEXT b
  171 NEXT a
  172ENDPROC
  175 
  300DEF PROCshuffle_cards
  305 leave=RND(4)+5
  310 b$=""
  315 FORi=6 TO 9
  320 IF i<>leave THEN b$=b$+STR$(i)+STR$(i)
  325 NEXT i
  330 FOR n=1 TO 6
  335   r=RND(LEN b$)
  340   a$(n)=MID$(b$,r,1)
  345   b$=LEFT$(b$,r-1)+RIGHT$(b$,LEN(b$)-r)
  350 NEXT n
  355ENDPROC
  360 
  580 REM data for pictures
  590 REM house
  600 DATA 0,6
  610 DATA 0,0,0,0,0,0,0,0
  612 DATA 1,1,&3,&3,&7,&7,&6F,&6F
  614 DATA &80,&80,&C0,&C0,&E0,&E0,&F0,&F0
  616 DATA 0,0,0,0,0,0,0,0
  618 DATA 0,0,0,0,0,0,0,0
  620 DATA &7F,&7F,&7F,&7F,&7F,&7F,&FF,&FF
  622 DATA &F8,&F8,&FC,&FC,&FE,&FE,&FF,&FF
  624 DATA 0,0,0,0,0,0,0,0
  626 DATA &28,&34,&59,&BE,&DA,&FC,&5C,&34
  628 DATA 255,255,&C3,&C3,&C3,&C3,255,255
  630 DATA 255,255,&C3,&C3,&C3,&C3,255,255
  632 DATA 0,0,0,0,0,0,0,0
  634 DATA &18,&14,&3C,&18,&18,&18,&18,&3C
  636 DATA 255,255,&C3,&C3,&C3,&C3,255,255
  638 DATA 255,255,&C3,&C3,&C3,&C3,&C3,&C3
  640 DATA 255,255,255,255,255,255,255,255
  680 REM train
  700 DATA 0,1
  710 DATA 0,0,7,&F,&F,7,7,7
  715 DATA 0,0,0,&80,&80,0,1,3
  720 DATA 0,0,0,3,3,3,&83,&C3
  725 DATA 0,0,0,&F0,&F0,&F0,&D0,&90
  730 DATA &7,7,&1F,&3F,&3F,&3F,&3F,&3F
  735 DATA 3,3,&FF,&FF,&FF,&FF,&FF,&FF
  740 DATA &C3,&C3,&FF,&FF,&FF,&FF,&FF,&FF
  745 DATA &90,&98,&9E,&9E,&FE,&FE,&FE,&FE
  750 DATA &3F,&1F,&1F,&F,&F,&F,&BF,&FF
  755 DATA &FF,&FF,&FF,&FF,&FF,&FF,&FF,&1E
  760 DATA &FF,&FF,&FF,&FF,&FF,&FF,&FF,&3C
  765 DATA &FE,&FE,&FE,&FE,&FC,&FD,&FF,&7D
  770 DATA &BF,7,7,7,7,1,0,0
  775 DATA &40,&E1,&B3,&52,&7F,&B3,&E1,&40
  780 DATA &81,&C3,&66,&A5,&FF,&66,&C3,&81
  790 DATA &70,&F0,&F0,&70,&70,&C0,&80,0
  797 REM Acorn
  800 DATA 7,2
  810 DATA 0,0,0,0,0,0,0,0
  815 DATA 0,1,1,3,3,3,7,7
  820 DATA &80,&C0,&C0,&E0,&E0,&E0,&F0,&F0
  825 DATA 0,0,0,0,0,0,0,0
  830 DATA 0,0,0,0,0,0,0,0
  835 DATA 7,7,&F,&F,&F,&F,&F,&F
  840 DATA &F0,&F0,&F8,&F8,&F8,&F8,&F8,&F8
  845 DATA 0,0,0,0,0,0,0,0
  850 DATA 0,0,0,0,0,0,0,0
  855 DATA &F,0,&1F,&1F,&F,&F,7,7
  860 DATA &F8,0,&FC,&FC,&F8,&F8,&F0,&E0
  865 DATA 0,0,0,0,0,0,0,0
  870 DATA 0,0,0,0,0,0,0,0
  875 DATA 3,1,&18,&1E,3,0,0,0
  880 DATA &E0,&C0,&80,&80,&E0,&38,&E,3
  890 DATA 0,0,0,0,0,0,0,0
  895 REM cat
  900 DATA 4,3
  910 DATA 0,0,0,0,0,0,0,16
  912 DATA 0,0,0,0,0,0,0,16
  914 DATA 0,0,0,0,0,0,0,0
  916 DATA 0,0,0,0,0,0,0,0
  918 DATA &10,&18,&18,&1C,&1F,&1F,&13,&19
  920 DATA &10,&30,&30,&70,&F0,&F0,&90,&30
  922 DATA 0,0,0,0,0,0,0,&FF
  924 DATA 0,0,0,0,0,0,0,&80
  926 DATA &1F,&1F,&A,&C,7,&B,&C,&1F
  928 DATA &F7,&FF,&AF,&6F,&DF,&FF,&7F,&FF
  930 DATA &FF,&FF,&FF,&FF,&FF,&F7,&EF,&EF
  932 DATA &F0,&FC,&FC,&FE,&FF,&FF,&FF,&EF
  934 DATA &1F,&3F,&3C,&79,&7B,&73,&77,&37
  936 DATA &FF,&FF,&FF,&EF,&DE,&C1,&83,3
  938 DATA &EF,&EF,&DF,&A1,&5F,&FF,&BF,&9E
  940 DATA &DF,&FF,&7E,&FE,&FC,&F8,&E0,0
 1200DEF PROCdefine_characters
 1205 READ backc,frontc
 1210 FORascii=224 TO 240
 1215  VDU23,ascii
 1220  FORline=0 TO 7
 1224   READx:VDUx
 1226  NEXT line
 1230 NEXT ascii
 1240ENDPROC
 1244 
 2000DEF PROCguess_two_cards
 2002 tries=tries+1
 2003 
 2005 REPEAT key$=GET$:REM wait for key
 2007 UNTIL key$>"0" AND key$<"7"
 2020 v=VAL(key$)
 2022 SOUND1,-10,10*(VAL(a$(v))-5),3
 2025 IF a$(v)="0" GOTO 2005
 2030 card=VAL(a$(v))
 3000 n=v:PROCdraw_card
 3001 
 3002 REM get next number
 3005 REPEAT key$=GET$:UNTIL key$>"0" AND key$<"7"
 3020 w=VAL(key$)
 3022 SOUND1,-10,(10*VAL(a$(w))-5),3
 3025 IF a$(w)="0" OR v=w GOTO 3005
 3030 card=VAL(a$(w))
 4000 n=w:PROCdraw_card
 4002 
 4010 COLOUR132 :COLOUR 3
 4020 PRINT TAB(11,4);tries
 4030 
 4040 REM check for a match
 4050 IF a$(v)=a$(w) PROCthey_match ELSE PROCthey_do_not_match
 4052ENDPROC
 4053 
 4058DEF PROCthey_do_not_match
 4060 SOUND 1,-12,10,10
 4070 COLOUR 7+128
 4075 REM Pause
 4080 t=TIME:REPEAT UNTIL TIME=t+60
 5000 n=v:PROCblank:PROCprint_number
 5010 n=w:PROCblank:PROCprint_number
 5100ENDPROC
 5110 
 5200DEF PROCthey_match
 5205 REM mark the cards down as chosen
 5210 a$(v)="0":a$(w)="0"
 5220 score=score+1
 5240 FOR n=1 TO 14
 5245  SOUND 1,-15,RND(200),1
 5247 NEXT n
 5250ENDPROC
 5260 
 7000DEF PROCdraw_card
 7010 RESTORE (card*100)
 7020 PROCdefine_characters
 7110 COLOUR frontc:COLOUR backc+128
 7120 FOR t=0 TO 3
 7130   PRINT TAB(FNx(n),t+FNy(n));
 7140   FOR s=0 TO 3
 7145     PRINTCHR$(224+s+t*4);
 7150   NEXT s
 7160 NEXT t
 7170ENDPROC
 7180 
 8100DEF PROCtunes
 8110 tune=RND(3)*100+9000
 8120 RESTORE tune
 8130 REPEAT
 8140  READ a,b
 8142 vol=-15:IF b=99 vol=0
 8145  REM flash cards
 8150  VDU19,0,RND(8)-1,0,0,0
 8152  VDU19,3,RND(8)-1,0,0,0
 8154  VDU19,7,RND(8)-1,0,0,0
 8160  SOUND1,vol,b*4+50,a
 8170 UNTIL a=0
 8190 VDU20
 8210ENDPROC
 8220 
 9090 REM Polly put the kettle on
 9100 DATA 4,7,4,9,4,7,4,5,4,4,3,0,1,99,8,0,4,2,4,4,4,2,4,0,4,-1,3,-5,1,99,8,-5
 9110 DATA 4,7,4,9,4,7,4,5,4,4,3,0,1,99,4,0,4,4,8,-3,6,-1,1,0,1,99,12,0
 9112 DATA 4,7,4,9,4,7,4,5,4,4,3,0,1,99,8,0,4,2,4,4,4,2,4,0,4,-1,3,-5,1,99,8,-5
 9114 DATA 4,7,4,9,4,7,4,5,4,4,3,0,1,99,4,0,4,4,8,-3,6,-1,1,0,1,99,12,0
 9120 DATA 0,0
 9190 REM Pop goes the weasel
 9200 DATA 3,3,1,99,2,3,3,5,1,99,2,5,2,7,2,10,2,7,4,3,2,-2
 9210 DATA 3,3,1,99,2,3,3,5,1,99,2,5,6,7,2,3,2,99,2,-2
 9220 DATA 3,3,1,99,2,3,3,5,1,99,2,5,2,7,2,10,2,7,4,3,2,99,1,11,3,12,2,99,4,5,2,8,6,7,2,3
 9270 DATA 0,0
 9290 REM Three blind mice
 9300 DATA 6,4,6,2,12,0
 9310 DATA 6,4,6,2,12,0
 9320 DATA 6,7,2,5,2,4,2,5,12,4 
 9330 DATA 6,7,2,5,2,4,2,5,12,4
 9340 DATA 2,7,3,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
 9350 DATA 2,7,1,12,1,99,1,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
 9360 DATA 2,7,3,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
 9370 DATA 2,5,6,4,6,2,12,0
 9380 DATA 0,0
 �         ...Pairs...
 
# �     ...Electron Version 1...
 
# � Copyright (c) Acornsoft 1984
 

 � 2
 
 �initialise
 
 �
   �guess_two_cards
 � score=3
 �tunes
  
"	 �132
$$ � �0,28);"Another game (Y/N) ?"
& � key=�"YyNn",�)
'
 � key<>0
( � key<3 � �
, *FX12,0
. � 6:�'''':�
/ 
0# �*** Procedure definitions ***
2 
3� �initialise
4	 �132
6 �: � Blue background
: � w$(3),a$(6)
< �23,1,0;0;0;0;
> � Turn off auto-repeat
@ *FX11,0
B  � Define Position Functions
D � �y(n)=9+12*((n-1) � 3)
F � �x(n)=2+5*((n-1) � 3)
L 
P score=0:tries=0
R �draw_frames
T �shuffle_cards
V �n=1�6
X  �blank
Z  �print_number
\ �
^
 �132:� 3
` � �3,4);"Tries = 0"
b�
c 
d� �blank
n � 7+128
x � t=0 � 3
z � ��x(n),�y(n)+t);"    "
| � t
�
� 
�� �print_number
� � 1
� � ��x(n)+1,�y(n)+1);n
��
� 
�� �draw_frames
� � a=736 � 200 � -382
�  � b=120 � 860 � 320
�   �0,1
�1   �b,a:�1,264,0:�1,0,-132:�1,-264,0:�1,0,132
�	  � b
� � a
��
� 
,� �shuffle_cards
1 leave=�(4)+5
6
 b$=""
;
 �i=6 � 9
@! � i<>leave � b$=b$+�(i)+�(i)
E � i
J � n=1 � 6
O   r=�(� b$)
T   a$(n)=�b$,r,1)
Y   b$=�b$,r-1)+�b$,�(b$)-r)
^ � n
c�
h 
D � data for pictures
N � house
X
 � 0,6
b � 0,0,0,0,0,0,0,0
d � 1,1,&3,&3,&7,&7,&6F,&6F
f& � &80,&80,&C0,&C0,&E0,&E0,&F0,&F0
h � 0,0,0,0,0,0,0,0
j � 0,0,0,0,0,0,0,0
l& � &7F,&7F,&7F,&7F,&7F,&7F,&FF,&FF
n& � &F8,&F8,&FC,&FC,&FE,&FE,&FF,&FF
p � 0,0,0,0,0,0,0,0
r& � &28,&34,&59,&BE,&DA,&FC,&5C,&34
t& � 255,255,&C3,&C3,&C3,&C3,255,255
v& � 255,255,&C3,&C3,&C3,&C3,255,255
x � 0,0,0,0,0,0,0,0
z& � &18,&14,&3C,&18,&18,&18,&18,&3C
|& � 255,255,&C3,&C3,&C3,&C3,255,255
~& � 255,255,&C3,&C3,&C3,&C3,&C3,&C3
�& � 255,255,255,255,255,255,255,255
� � train
�
 � 0,1
� � 0,0,7,&F,&F,7,7,7
� � 0,0,0,&80,&80,0,1,3
� � 0,0,0,3,3,3,&83,&C3
�  � 0,0,0,&F0,&F0,&F0,&D0,&90
�# � &7,7,&1F,&3F,&3F,&3F,&3F,&3F
�" � 3,3,&FF,&FF,&FF,&FF,&FF,&FF
�& � &C3,&C3,&FF,&FF,&FF,&FF,&FF,&FF
�& � &90,&98,&9E,&9E,&FE,&FE,&FE,&FE
�# � &3F,&1F,&1F,&F,&F,&F,&BF,&FF
�& � &FF,&FF,&FF,&FF,&FF,&FF,&FF,&1E
�& � &FF,&FF,&FF,&FF,&FF,&FF,&FF,&3C
�& � &FE,&FE,&FE,&FE,&FC,&FD,&FF,&7D
 � &BF,7,7,7,7,1,0,0
& � &40,&E1,&B3,&52,&7F,&B3,&E1,&40
& � &81,&C3,&66,&A5,&FF,&66,&C3,&81
$ � &70,&F0,&F0,&70,&70,&C0,&80,0
 � Acorn
 
 � 7,2
* � 0,0,0,0,0,0,0,0
/ � 0,1,1,3,3,3,7,7
4& � &80,&C0,&C0,&E0,&E0,&E0,&F0,&F0
9 � 0,0,0,0,0,0,0,0
> � 0,0,0,0,0,0,0,0
C � 7,7,&F,&F,&F,&F,&F,&F
H& � &F0,&F0,&F8,&F8,&F8,&F8,&F8,&F8
M � 0,0,0,0,0,0,0,0
R � 0,0,0,0,0,0,0,0
W � &F,0,&1F,&1F,&F,&F,7,7
\$ � &F8,0,&FC,&FC,&F8,&F8,&F0,&E0
a � 0,0,0,0,0,0,0,0
f � 0,0,0,0,0,0,0,0
k � 3,1,&18,&1E,3,0,0,0
p# � &E0,&C0,&80,&80,&E0,&38,&E,3
z � 0,0,0,0,0,0,0,0

 � cat
�
 � 4,3
� � 0,0,0,0,0,0,0,16
� � 0,0,0,0,0,0,0,16
� � 0,0,0,0,0,0,0,0
� � 0,0,0,0,0,0,0,0
�& � &10,&18,&18,&1C,&1F,&1F,&13,&19
�& � &10,&30,&30,&70,&F0,&F0,&90,&30
� � 0,0,0,0,0,0,0,&FF
� � 0,0,0,0,0,0,0,&80
�  � &1F,&1F,&A,&C,7,&B,&C,&1F
�& � &F7,&FF,&AF,&6F,&DF,&FF,&7F,&FF
�& � &FF,&FF,&FF,&FF,&FF,&F7,&EF,&EF
�& � &F0,&FC,&FC,&FE,&FF,&FF,&FF,&EF
�& � &1F,&3F,&3C,&79,&7B,&73,&77,&37
�$ � &FF,&FF,&FF,&EF,&DE,&C1,&83,3
�& � &EF,&EF,&DF,&A1,&5F,&FF,&BF,&9E
�$ � &DF,&FF,&7E,&FE,&FC,&F8,&E0,0
�� �define_characters
� � backc,frontc
� �ascii=224 � 240
�  �23,ascii
�  �line=0 � 7
�   �x:�x
�  � line
� � ascii
��
� 
�� �guess_two_cards
� tries=tries+1
� 
� � key$=�:� wait for key
� � key$>"0" � key$<"7"
� v=�(key$)
� �1,-10,10*(�(a$(v))-5),3
� � a$(v)="0" � �dUG
� card=�(a$(v))
� n=v:�draw_card
� 
� � get next number
�# � key$=�:� key$>"0" � key$<"7"
� w=�(key$)
� �1,-10,(10*�(a$(w))-5),3
� � a$(w)="0" � v=w � �t}K
� card=�(a$(w))
� n=w:�draw_card
� 
� �132 :� 3
� � �11,4);tries
� 
� � check for a match
�3 � a$(v)=a$(w) �they_match � �they_do_not_match
��
� 
�� �they_do_not_match
� � 1,-12,10,10
� � 7+128
� � Pause
� t=�:� � �=t+60
� n=v:�blank:�print_number
� n=w:�blank:�print_number
��
� 
P� �they_match
U$ � mark the cards down as chosen
Z a$(v)="0":a$(w)="0"
d score=score+1
x � n=1 � 14
}  � 1,-15,�(200),1
 � n
��
� 
X� �draw_card
b � (card*100)
l �define_characters
� � frontc:� backc+128
� � t=0 � 3
�   � ��x(n),t+�y(n));
�   � s=0 � 3
�     �(224+s+t*4);
�
   � s
� � t
�
 
�� �tunes
� tune=�(3)*100+9000
� � tune
� �
�  � a,b
� vol=-15:� b=99 vol=0
�  � flash cards
�  �19,0,�(8)-1,0,0,0
�  �19,3,�(8)-1,0,0,0
�  �19,7,�(8)-1,0,0,0
�  �1,vol,b*4+50,a
�
 � a=0
� �20
 �
  
#� � Polly put the kettle on
#�K � 4,7,4,9,4,7,4,5,4,4,3,0,1,99,8,0,4,2,4,4,4,2,4,0,4,-1,3,-5,1,99,8,-5
#�C � 4,7,4,9,4,7,4,5,4,4,3,0,1,99,4,0,4,4,8,-3,6,-1,1,0,1,99,12,0
#�K � 4,7,4,9,4,7,4,5,4,4,3,0,1,99,8,0,4,2,4,4,4,2,4,0,4,-1,3,-5,1,99,8,-5
#�C � 4,7,4,9,4,7,4,5,4,4,3,0,1,99,4,0,4,4,8,-3,6,-1,1,0,1,99,12,0
#�
 � 0,0
#� � Pop goes the weasel
#�6 � 3,3,1,99,2,3,3,5,1,99,2,5,2,7,2,10,2,7,4,3,2,-2
#�2 � 3,3,1,99,2,3,3,5,1,99,2,5,6,7,2,3,2,99,2,-2
$U � 3,3,1,99,2,3,3,5,1,99,2,5,2,7,2,10,2,7,4,3,2,99,1,11,3,12,2,99,4,5,2,8,6,7,2,3
$6
 � 0,0
$J � Three blind mice
$T � 6,4,6,2,12,0
$^ � 6,4,6,2,12,0
$h � 6,7,2,5,2,4,2,5,12,4 
$r � 6,7,2,5,2,4,2,5,12,4
$|? � 2,7,3,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
$�I � 2,7,1,12,1,99,1,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
$�? � 2,7,3,12,1,99,2,12,2,11,2,9,2,11,3,12,1,99,2,12,3,7,1,99
$� � 2,5,6,4,6,2,12,0
$�
 � 0,0
�
00000000  0d 00 01 1a 20 f4 20 20  20 20 20 20 20 20 20 2e  |.... .         .|
00000010  2e 2e 50 61 69 72 73 2e  2e 2e 0d 00 02 05 20 0d  |..Pairs....... .|
00000020  00 03 23 20 f4 20 20 20  20 20 2e 2e 2e 45 6c 65  |..# .     ...Ele|
00000030  63 74 72 6f 6e 20 56 65  72 73 69 6f 6e 20 31 2e  |ctron Version 1.|
00000040  2e 2e 0d 00 04 05 20 0d  00 06 23 20 f4 20 43 6f  |...... ...# . Co|
00000050  70 79 72 69 67 68 74 20  28 63 29 20 41 63 6f 72  |pyright (c) Acor|
00000060  6e 73 6f 66 74 20 31 39  38 34 0d 00 07 05 20 0d  |nsoft 1984.... .|
00000070  00 0a 08 20 eb 20 32 0d  00 0b 05 20 0d 00 0f 10  |... . 2.... ....|
00000080  20 f2 69 6e 69 74 69 61  6c 69 73 65 0d 00 14 05  | .initialise....|
00000090  20 0d 00 18 06 20 f5 0d  00 1a 17 20 20 20 f2 67  | .... .....   .g|
000000a0  75 65 73 73 5f 74 77 6f  5f 63 61 72 64 73 0d 00  |uess_two_cards..|
000000b0  1c 0e 20 fd 20 73 63 6f  72 65 3d 33 0d 00 1e 0b  |.. . score=3....|
000000c0  20 f2 74 75 6e 65 73 0d  00 20 05 20 0d 00 22 09  | .tunes.. . ..".|
000000d0  20 fb 31 33 32 0d 00 24  24 20 f1 20 8a 30 2c 32  | .132..$$ . .0,2|
000000e0  38 29 3b 22 41 6e 6f 74  68 65 72 20 67 61 6d 65  |8);"Another game|
000000f0  20 28 59 2f 4e 29 20 3f  22 0d 00 26 15 20 f5 20  | (Y/N) ?"..&. . |
00000100  6b 65 79 3d a7 22 59 79  4e 6e 22 2c be 29 0d 00  |key=."YyNn",.)..|
00000110  27 0d 20 fd 20 6b 65 79  3c 3e 30 0d 00 28 10 20  |'. . key<>0..(. |
00000120  e7 20 6b 65 79 3c 33 20  8c 20 f9 0d 00 2c 0c 20  |. key<3 . ...,. |
00000130  2a 46 58 31 32 2c 30 0d  00 2e 10 20 eb 20 36 3a  |*FX12,0.... . 6:|
00000140  f1 27 27 27 27 3a e0 0d  00 2f 05 20 0d 00 30 23  |.'''':.../. ..0#|
00000150  20 f4 2a 2a 2a 20 50 72  6f 63 65 64 75 72 65 20  | .*** Procedure |
00000160  64 65 66 69 6e 69 74 69  6f 6e 73 20 2a 2a 2a 0d  |definitions ***.|
00000170  00 32 05 20 0d 00 33 11  dd 20 f2 69 6e 69 74 69  |.2. ..3.. .initi|
00000180  61 6c 69 73 65 0d 00 34  09 20 fb 31 33 32 0d 00  |alise..4. .132..|
00000190  36 19 20 db 3a 20 f4 20  42 6c 75 65 20 62 61 63  |6. .: . Blue bac|
000001a0  6b 67 72 6f 75 6e 64 0d  00 3a 12 20 de 20 77 24  |kground..:. . w$|
000001b0  28 33 29 2c 61 24 28 36  29 0d 00 3c 13 20 ef 32  |(3),a$(6)..<. .2|
000001c0  33 2c 31 2c 30 3b 30 3b  30 3b 30 3b 0d 00 3e 1b  |3,1,0;0;0;0;..>.|
000001d0  20 f4 20 54 75 72 6e 20  6f 66 66 20 61 75 74 6f  | . Turn off auto|
000001e0  2d 72 65 70 65 61 74 0d  00 40 0c 20 2a 46 58 31  |-repeat..@. *FX1|
000001f0  31 2c 30 0d 00 42 20 20  f4 20 44 65 66 69 6e 65  |1,0..B  . Define|
00000200  20 50 6f 73 69 74 69 6f  6e 20 46 75 6e 63 74 69  | Position Functi|
00000210  6f 6e 73 0d 00 44 1d 20  dd 20 a4 79 28 6e 29 3d  |ons..D. . .y(n)=|
00000220  39 2b 31 32 2a 28 28 6e  2d 31 29 20 81 20 33 29  |9+12*((n-1) . 3)|
00000230  0d 00 46 1c 20 dd 20 a4  78 28 6e 29 3d 32 2b 35  |..F. . .x(n)=2+5|
00000240  2a 28 28 6e 2d 31 29 20  83 20 33 29 0d 00 4c 05  |*((n-1) . 3)..L.|
00000250  20 0d 00 50 14 20 73 63  6f 72 65 3d 30 3a 74 72  | ..P. score=0:tr|
00000260  69 65 73 3d 30 0d 00 52  11 20 f2 64 72 61 77 5f  |ies=0..R. .draw_|
00000270  66 72 61 6d 65 73 0d 00  54 13 20 f2 73 68 75 66  |frames..T. .shuf|
00000280  66 6c 65 5f 63 61 72 64  73 0d 00 56 0b 20 e3 6e  |fle_cards..V. .n|
00000290  3d 31 b8 36 0d 00 58 0c  20 20 f2 62 6c 61 6e 6b  |=1.6..X.  .blank|
000002a0  0d 00 5a 13 20 20 f2 70  72 69 6e 74 5f 6e 75 6d  |..Z.  .print_num|
000002b0  62 65 72 0d 00 5c 06 20  ed 0d 00 5e 0d 20 fb 31  |ber..\. ...^. .1|
000002c0  33 32 3a fb 20 33 0d 00  60 18 20 f1 20 8a 33 2c  |32:. 3..`. . .3,|
000002d0  34 29 3b 22 54 72 69 65  73 20 3d 20 30 22 0d 00  |4);"Tries = 0"..|
000002e0  62 05 e1 0d 00 63 05 20  0d 00 64 0c dd 20 f2 62  |b....c. ..d.. .b|
000002f0  6c 61 6e 6b 0d 00 6e 0c  20 fb 20 37 2b 31 32 38  |lank..n. . 7+128|
00000300  0d 00 78 0e 20 e3 20 74  3d 30 20 b8 20 33 0d 00  |..x. . t=0 . 3..|
00000310  7a 1d 20 f1 20 8a a4 78  28 6e 29 2c a4 79 28 6e  |z. . ..x(n),.y(n|
00000320  29 2b 74 29 3b 22 20 20  20 20 22 0d 00 7c 08 20  |)+t);"    "..|. |
00000330  ed 20 74 0d 00 7f 05 e1  0d 00 80 05 20 0d 00 82  |. t......... ...|
00000340  13 dd 20 f2 70 72 69 6e  74 5f 6e 75 6d 62 65 72  |.. .print_number|
00000350  0d 00 83 08 20 fb 20 31  0d 00 86 1a 20 f1 20 8a  |.... . 1.... . .|
00000360  a4 78 28 6e 29 2b 31 2c  a4 79 28 6e 29 2b 31 29  |.x(n)+1,.y(n)+1)|
00000370  3b 6e 0d 00 89 05 e1 0d  00 8a 05 20 0d 00 8c 12  |;n......... ....|
00000380  dd 20 f2 64 72 61 77 5f  66 72 61 6d 65 73 0d 00  |. .draw_frames..|
00000390  96 19 20 e3 20 61 3d 37  33 36 20 b8 20 32 30 30  |.. . a=736 . 200|
000003a0  20 88 20 2d 33 38 32 0d  00 9b 19 20 20 e3 20 62  | . -382....  . b|
000003b0  3d 31 32 30 20 b8 20 38  36 30 20 88 20 33 32 30  |=120 . 860 . 320|
000003c0  0d 00 a0 0b 20 20 20 e6  30 2c 31 0d 00 a5 31 20  |....   .0,1...1 |
000003d0  20 20 ec 62 2c 61 3a f0  31 2c 32 36 34 2c 30 3a  |  .b,a:.1,264,0:|
000003e0  f0 31 2c 30 2c 2d 31 33  32 3a f0 31 2c 2d 32 36  |.1,0,-132:.1,-26|
000003f0  34 2c 30 3a f0 31 2c 30  2c 31 33 32 0d 00 aa 09  |4,0:.1,0,132....|
00000400  20 20 ed 20 62 0d 00 ab  08 20 ed 20 61 0d 00 ac  |  . b.... . a...|
00000410  05 e1 0d 00 af 05 20 0d  01 2c 14 dd 20 f2 73 68  |...... ..,.. .sh|
00000420  75 66 66 6c 65 5f 63 61  72 64 73 0d 01 31 11 20  |uffle_cards..1. |
00000430  6c 65 61 76 65 3d b3 28  34 29 2b 35 0d 01 36 0a  |leave=.(4)+5..6.|
00000440  20 62 24 3d 22 22 0d 01  3b 0d 20 e3 69 3d 36 20  | b$=""..;. .i=6 |
00000450  b8 20 39 0d 01 40 21 20  e7 20 69 3c 3e 6c 65 61  |. 9..@! . i<>lea|
00000460  76 65 20 8c 20 62 24 3d  62 24 2b c3 28 69 29 2b  |ve . b$=b$+.(i)+|
00000470  c3 28 69 29 0d 01 45 08  20 ed 20 69 0d 01 4a 0e  |.(i)..E. . i..J.|
00000480  20 e3 20 6e 3d 31 20 b8  20 36 0d 01 4f 10 20 20  | . n=1 . 6..O.  |
00000490  20 72 3d b3 28 a9 20 62  24 29 0d 01 54 15 20 20  | r=.(. b$)..T.  |
000004a0  20 61 24 28 6e 29 3d c1  62 24 2c 72 2c 31 29 0d  | a$(n)=.b$,r,1).|
000004b0  01 59 1f 20 20 20 62 24  3d c0 62 24 2c 72 2d 31  |.Y.   b$=.b$,r-1|
000004c0  29 2b c2 62 24 2c a9 28  62 24 29 2d 72 29 0d 01  |)+.b$,.(b$)-r)..|
000004d0  5e 08 20 ed 20 6e 0d 01  63 05 e1 0d 01 68 05 20  |^. . n..c....h. |
000004e0  0d 02 44 18 20 f4 20 64  61 74 61 20 66 6f 72 20  |..D. . data for |
000004f0  70 69 63 74 75 72 65 73  0d 02 4e 0c 20 f4 20 68  |pictures..N. . h|
00000500  6f 75 73 65 0d 02 58 0a  20 dc 20 30 2c 36 0d 02  |ouse..X. . 0,6..|
00000510  62 16 20 dc 20 30 2c 30  2c 30 2c 30 2c 30 2c 30  |b. . 0,0,0,0,0,0|
00000520  2c 30 2c 30 0d 02 64 1e  20 dc 20 31 2c 31 2c 26  |,0,0..d. . 1,1,&|
00000530  33 2c 26 33 2c 26 37 2c  26 37 2c 26 36 46 2c 26  |3,&3,&7,&7,&6F,&|
00000540  36 46 0d 02 66 26 20 dc  20 26 38 30 2c 26 38 30  |6F..f& . &80,&80|
00000550  2c 26 43 30 2c 26 43 30  2c 26 45 30 2c 26 45 30  |,&C0,&C0,&E0,&E0|
00000560  2c 26 46 30 2c 26 46 30  0d 02 68 16 20 dc 20 30  |,&F0,&F0..h. . 0|
00000570  2c 30 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 0d 02  |,0,0,0,0,0,0,0..|
00000580  6a 16 20 dc 20 30 2c 30  2c 30 2c 30 2c 30 2c 30  |j. . 0,0,0,0,0,0|
00000590  2c 30 2c 30 0d 02 6c 26  20 dc 20 26 37 46 2c 26  |,0,0..l& . &7F,&|
000005a0  37 46 2c 26 37 46 2c 26  37 46 2c 26 37 46 2c 26  |7F,&7F,&7F,&7F,&|
000005b0  37 46 2c 26 46 46 2c 26  46 46 0d 02 6e 26 20 dc  |7F,&FF,&FF..n& .|
000005c0  20 26 46 38 2c 26 46 38  2c 26 46 43 2c 26 46 43  | &F8,&F8,&FC,&FC|
000005d0  2c 26 46 45 2c 26 46 45  2c 26 46 46 2c 26 46 46  |,&FE,&FE,&FF,&FF|
000005e0  0d 02 70 16 20 dc 20 30  2c 30 2c 30 2c 30 2c 30  |..p. . 0,0,0,0,0|
000005f0  2c 30 2c 30 2c 30 0d 02  72 26 20 dc 20 26 32 38  |,0,0,0..r& . &28|
00000600  2c 26 33 34 2c 26 35 39  2c 26 42 45 2c 26 44 41  |,&34,&59,&BE,&DA|
00000610  2c 26 46 43 2c 26 35 43  2c 26 33 34 0d 02 74 26  |,&FC,&5C,&34..t&|
00000620  20 dc 20 32 35 35 2c 32  35 35 2c 26 43 33 2c 26  | . 255,255,&C3,&|
00000630  43 33 2c 26 43 33 2c 26  43 33 2c 32 35 35 2c 32  |C3,&C3,&C3,255,2|
00000640  35 35 0d 02 76 26 20 dc  20 32 35 35 2c 32 35 35  |55..v& . 255,255|
00000650  2c 26 43 33 2c 26 43 33  2c 26 43 33 2c 26 43 33  |,&C3,&C3,&C3,&C3|
00000660  2c 32 35 35 2c 32 35 35  0d 02 78 16 20 dc 20 30  |,255,255..x. . 0|
00000670  2c 30 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 0d 02  |,0,0,0,0,0,0,0..|
00000680  7a 26 20 dc 20 26 31 38  2c 26 31 34 2c 26 33 43  |z& . &18,&14,&3C|
00000690  2c 26 31 38 2c 26 31 38  2c 26 31 38 2c 26 31 38  |,&18,&18,&18,&18|
000006a0  2c 26 33 43 0d 02 7c 26  20 dc 20 32 35 35 2c 32  |,&3C..|& . 255,2|
000006b0  35 35 2c 26 43 33 2c 26  43 33 2c 26 43 33 2c 26  |55,&C3,&C3,&C3,&|
000006c0  43 33 2c 32 35 35 2c 32  35 35 0d 02 7e 26 20 dc  |C3,255,255..~& .|
000006d0  20 32 35 35 2c 32 35 35  2c 26 43 33 2c 26 43 33  | 255,255,&C3,&C3|
000006e0  2c 26 43 33 2c 26 43 33  2c 26 43 33 2c 26 43 33  |,&C3,&C3,&C3,&C3|
000006f0  0d 02 80 26 20 dc 20 32  35 35 2c 32 35 35 2c 32  |...& . 255,255,2|
00000700  35 35 2c 32 35 35 2c 32  35 35 2c 32 35 35 2c 32  |55,255,255,255,2|
00000710  35 35 2c 32 35 35 0d 02  a8 0c 20 f4 20 74 72 61  |55,255.... . tra|
00000720  69 6e 0d 02 bc 0a 20 dc  20 30 2c 31 0d 02 c6 18  |in.... . 0,1....|
00000730  20 dc 20 30 2c 30 2c 37  2c 26 46 2c 26 46 2c 37  | . 0,0,7,&F,&F,7|
00000740  2c 37 2c 37 0d 02 cb 1a  20 dc 20 30 2c 30 2c 30  |,7,7.... . 0,0,0|
00000750  2c 26 38 30 2c 26 38 30  2c 30 2c 31 2c 33 0d 02  |,&80,&80,0,1,3..|
00000760  d0 1a 20 dc 20 30 2c 30  2c 30 2c 33 2c 33 2c 33  |.. . 0,0,0,3,3,3|
00000770  2c 26 38 33 2c 26 43 33  0d 02 d5 20 20 dc 20 30  |,&83,&C3...  . 0|
00000780  2c 30 2c 30 2c 26 46 30  2c 26 46 30 2c 26 46 30  |,0,0,&F0,&F0,&F0|
00000790  2c 26 44 30 2c 26 39 30  0d 02 da 23 20 dc 20 26  |,&D0,&90...# . &|
000007a0  37 2c 37 2c 26 31 46 2c  26 33 46 2c 26 33 46 2c  |7,7,&1F,&3F,&3F,|
000007b0  26 33 46 2c 26 33 46 2c  26 33 46 0d 02 df 22 20  |&3F,&3F,&3F..." |
000007c0  dc 20 33 2c 33 2c 26 46  46 2c 26 46 46 2c 26 46  |. 3,3,&FF,&FF,&F|
000007d0  46 2c 26 46 46 2c 26 46  46 2c 26 46 46 0d 02 e4  |F,&FF,&FF,&FF...|
000007e0  26 20 dc 20 26 43 33 2c  26 43 33 2c 26 46 46 2c  |& . &C3,&C3,&FF,|
000007f0  26 46 46 2c 26 46 46 2c  26 46 46 2c 26 46 46 2c  |&FF,&FF,&FF,&FF,|
00000800  26 46 46 0d 02 e9 26 20  dc 20 26 39 30 2c 26 39  |&FF...& . &90,&9|
00000810  38 2c 26 39 45 2c 26 39  45 2c 26 46 45 2c 26 46  |8,&9E,&9E,&FE,&F|
00000820  45 2c 26 46 45 2c 26 46  45 0d 02 ee 23 20 dc 20  |E,&FE,&FE...# . |
00000830  26 33 46 2c 26 31 46 2c  26 31 46 2c 26 46 2c 26  |&3F,&1F,&1F,&F,&|
00000840  46 2c 26 46 2c 26 42 46  2c 26 46 46 0d 02 f3 26  |F,&F,&BF,&FF...&|
00000850  20 dc 20 26 46 46 2c 26  46 46 2c 26 46 46 2c 26  | . &FF,&FF,&FF,&|
00000860  46 46 2c 26 46 46 2c 26  46 46 2c 26 46 46 2c 26  |FF,&FF,&FF,&FF,&|
00000870  31 45 0d 02 f8 26 20 dc  20 26 46 46 2c 26 46 46  |1E...& . &FF,&FF|
00000880  2c 26 46 46 2c 26 46 46  2c 26 46 46 2c 26 46 46  |,&FF,&FF,&FF,&FF|
00000890  2c 26 46 46 2c 26 33 43  0d 02 fd 26 20 dc 20 26  |,&FF,&3C...& . &|
000008a0  46 45 2c 26 46 45 2c 26  46 45 2c 26 46 45 2c 26  |FE,&FE,&FE,&FE,&|
000008b0  46 43 2c 26 46 44 2c 26  46 46 2c 26 37 44 0d 03  |FC,&FD,&FF,&7D..|
000008c0  02 18 20 dc 20 26 42 46  2c 37 2c 37 2c 37 2c 37  |.. . &BF,7,7,7,7|
000008d0  2c 31 2c 30 2c 30 0d 03  07 26 20 dc 20 26 34 30  |,1,0,0...& . &40|
000008e0  2c 26 45 31 2c 26 42 33  2c 26 35 32 2c 26 37 46  |,&E1,&B3,&52,&7F|
000008f0  2c 26 42 33 2c 26 45 31  2c 26 34 30 0d 03 0c 26  |,&B3,&E1,&40...&|
00000900  20 dc 20 26 38 31 2c 26  43 33 2c 26 36 36 2c 26  | . &81,&C3,&66,&|
00000910  41 35 2c 26 46 46 2c 26  36 36 2c 26 43 33 2c 26  |A5,&FF,&66,&C3,&|
00000920  38 31 0d 03 16 24 20 dc  20 26 37 30 2c 26 46 30  |81...$ . &70,&F0|
00000930  2c 26 46 30 2c 26 37 30  2c 26 37 30 2c 26 43 30  |,&F0,&70,&70,&C0|
00000940  2c 26 38 30 2c 30 0d 03  1d 0c 20 f4 20 41 63 6f  |,&80,0.... . Aco|
00000950  72 6e 0d 03 20 0a 20 dc  20 37 2c 32 0d 03 2a 16  |rn.. . . 7,2..*.|
00000960  20 dc 20 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  | . 0,0,0,0,0,0,0|
00000970  2c 30 0d 03 2f 16 20 dc  20 30 2c 31 2c 31 2c 33  |,0../. . 0,1,1,3|
00000980  2c 33 2c 33 2c 37 2c 37  0d 03 34 26 20 dc 20 26  |,3,3,7,7..4& . &|
00000990  38 30 2c 26 43 30 2c 26  43 30 2c 26 45 30 2c 26  |80,&C0,&C0,&E0,&|
000009a0  45 30 2c 26 45 30 2c 26  46 30 2c 26 46 30 0d 03  |E0,&E0,&F0,&F0..|
000009b0  39 16 20 dc 20 30 2c 30  2c 30 2c 30 2c 30 2c 30  |9. . 0,0,0,0,0,0|
000009c0  2c 30 2c 30 0d 03 3e 16  20 dc 20 30 2c 30 2c 30  |,0,0..>. . 0,0,0|
000009d0  2c 30 2c 30 2c 30 2c 30  2c 30 0d 03 43 1c 20 dc  |,0,0,0,0,0..C. .|
000009e0  20 37 2c 37 2c 26 46 2c  26 46 2c 26 46 2c 26 46  | 7,7,&F,&F,&F,&F|
000009f0  2c 26 46 2c 26 46 0d 03  48 26 20 dc 20 26 46 30  |,&F,&F..H& . &F0|
00000a00  2c 26 46 30 2c 26 46 38  2c 26 46 38 2c 26 46 38  |,&F0,&F8,&F8,&F8|
00000a10  2c 26 46 38 2c 26 46 38  2c 26 46 38 0d 03 4d 16  |,&F8,&F8,&F8..M.|
00000a20  20 dc 20 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  | . 0,0,0,0,0,0,0|
00000a30  2c 30 0d 03 52 16 20 dc  20 30 2c 30 2c 30 2c 30  |,0..R. . 0,0,0,0|
00000a40  2c 30 2c 30 2c 30 2c 30  0d 03 57 1d 20 dc 20 26  |,0,0,0,0..W. . &|
00000a50  46 2c 30 2c 26 31 46 2c  26 31 46 2c 26 46 2c 26  |F,0,&1F,&1F,&F,&|
00000a60  46 2c 37 2c 37 0d 03 5c  24 20 dc 20 26 46 38 2c  |F,7,7..\$ . &F8,|
00000a70  30 2c 26 46 43 2c 26 46  43 2c 26 46 38 2c 26 46  |0,&FC,&FC,&F8,&F|
00000a80  38 2c 26 46 30 2c 26 45  30 0d 03 61 16 20 dc 20  |8,&F0,&E0..a. . |
00000a90  30 2c 30 2c 30 2c 30 2c  30 2c 30 2c 30 2c 30 0d  |0,0,0,0,0,0,0,0.|
00000aa0  03 66 16 20 dc 20 30 2c  30 2c 30 2c 30 2c 30 2c  |.f. . 0,0,0,0,0,|
00000ab0  30 2c 30 2c 30 0d 03 6b  1a 20 dc 20 33 2c 31 2c  |0,0,0..k. . 3,1,|
00000ac0  26 31 38 2c 26 31 45 2c  33 2c 30 2c 30 2c 30 0d  |&18,&1E,3,0,0,0.|
00000ad0  03 70 23 20 dc 20 26 45  30 2c 26 43 30 2c 26 38  |.p# . &E0,&C0,&8|
00000ae0  30 2c 26 38 30 2c 26 45  30 2c 26 33 38 2c 26 45  |0,&80,&E0,&38,&E|
00000af0  2c 33 0d 03 7a 16 20 dc  20 30 2c 30 2c 30 2c 30  |,3..z. . 0,0,0,0|
00000b00  2c 30 2c 30 2c 30 2c 30  0d 03 7f 0a 20 f4 20 63  |,0,0,0,0.... . c|
00000b10  61 74 0d 03 84 0a 20 dc  20 34 2c 33 0d 03 8e 17  |at.... . 4,3....|
00000b20  20 dc 20 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  | . 0,0,0,0,0,0,0|
00000b30  2c 31 36 0d 03 90 17 20  dc 20 30 2c 30 2c 30 2c  |,16.... . 0,0,0,|
00000b40  30 2c 30 2c 30 2c 30 2c  31 36 0d 03 92 16 20 dc  |0,0,0,0,16.... .|
00000b50  20 30 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 30  | 0,0,0,0,0,0,0,0|
00000b60  0d 03 94 16 20 dc 20 30  2c 30 2c 30 2c 30 2c 30  |.... . 0,0,0,0,0|
00000b70  2c 30 2c 30 2c 30 0d 03  96 26 20 dc 20 26 31 30  |,0,0,0...& . &10|
00000b80  2c 26 31 38 2c 26 31 38  2c 26 31 43 2c 26 31 46  |,&18,&18,&1C,&1F|
00000b90  2c 26 31 46 2c 26 31 33  2c 26 31 39 0d 03 98 26  |,&1F,&13,&19...&|
00000ba0  20 dc 20 26 31 30 2c 26  33 30 2c 26 33 30 2c 26  | . &10,&30,&30,&|
00000bb0  37 30 2c 26 46 30 2c 26  46 30 2c 26 39 30 2c 26  |70,&F0,&F0,&90,&|
00000bc0  33 30 0d 03 9a 18 20 dc  20 30 2c 30 2c 30 2c 30  |30.... . 0,0,0,0|
00000bd0  2c 30 2c 30 2c 30 2c 26  46 46 0d 03 9c 18 20 dc  |,0,0,0,&FF.... .|
00000be0  20 30 2c 30 2c 30 2c 30  2c 30 2c 30 2c 30 2c 26  | 0,0,0,0,0,0,0,&|
00000bf0  38 30 0d 03 9e 20 20 dc  20 26 31 46 2c 26 31 46  |80...  . &1F,&1F|
00000c00  2c 26 41 2c 26 43 2c 37  2c 26 42 2c 26 43 2c 26  |,&A,&C,7,&B,&C,&|
00000c10  31 46 0d 03 a0 26 20 dc  20 26 46 37 2c 26 46 46  |1F...& . &F7,&FF|
00000c20  2c 26 41 46 2c 26 36 46  2c 26 44 46 2c 26 46 46  |,&AF,&6F,&DF,&FF|
00000c30  2c 26 37 46 2c 26 46 46  0d 03 a2 26 20 dc 20 26  |,&7F,&FF...& . &|
00000c40  46 46 2c 26 46 46 2c 26  46 46 2c 26 46 46 2c 26  |FF,&FF,&FF,&FF,&|
00000c50  46 46 2c 26 46 37 2c 26  45 46 2c 26 45 46 0d 03  |FF,&F7,&EF,&EF..|
00000c60  a4 26 20 dc 20 26 46 30  2c 26 46 43 2c 26 46 43  |.& . &F0,&FC,&FC|
00000c70  2c 26 46 45 2c 26 46 46  2c 26 46 46 2c 26 46 46  |,&FE,&FF,&FF,&FF|
00000c80  2c 26 45 46 0d 03 a6 26  20 dc 20 26 31 46 2c 26  |,&EF...& . &1F,&|
00000c90  33 46 2c 26 33 43 2c 26  37 39 2c 26 37 42 2c 26  |3F,&3C,&79,&7B,&|
00000ca0  37 33 2c 26 37 37 2c 26  33 37 0d 03 a8 24 20 dc  |73,&77,&37...$ .|
00000cb0  20 26 46 46 2c 26 46 46  2c 26 46 46 2c 26 45 46  | &FF,&FF,&FF,&EF|
00000cc0  2c 26 44 45 2c 26 43 31  2c 26 38 33 2c 33 0d 03  |,&DE,&C1,&83,3..|
00000cd0  aa 26 20 dc 20 26 45 46  2c 26 45 46 2c 26 44 46  |.& . &EF,&EF,&DF|
00000ce0  2c 26 41 31 2c 26 35 46  2c 26 46 46 2c 26 42 46  |,&A1,&5F,&FF,&BF|
00000cf0  2c 26 39 45 0d 03 ac 24  20 dc 20 26 44 46 2c 26  |,&9E...$ . &DF,&|
00000d00  46 46 2c 26 37 45 2c 26  46 45 2c 26 46 43 2c 26  |FF,&7E,&FE,&FC,&|
00000d10  46 38 2c 26 45 30 2c 30  0d 04 b0 18 dd 20 f2 64  |F8,&E0,0..... .d|
00000d20  65 66 69 6e 65 5f 63 68  61 72 61 63 74 65 72 73  |efine_characters|
00000d30  0d 04 b5 13 20 f3 20 62  61 63 6b 63 2c 66 72 6f  |.... . backc,fro|
00000d40  6e 74 63 0d 04 ba 15 20  e3 61 73 63 69 69 3d 32  |ntc.... .ascii=2|
00000d50  32 34 20 b8 20 32 34 30  0d 04 bf 0f 20 20 ef 32  |24 . 240....  .2|
00000d60  33 2c 61 73 63 69 69 0d  04 c4 11 20 20 e3 6c 69  |3,ascii....  .li|
00000d70  6e 65 3d 30 20 b8 20 37  0d 04 c8 0c 20 20 20 f3  |ne=0 . 7....   .|
00000d80  78 3a ef 78 0d 04 ca 0c  20 20 ed 20 6c 69 6e 65  |x:.x....  . line|
00000d90  0d 04 ce 0c 20 ed 20 61  73 63 69 69 0d 04 d8 05  |.... . ascii....|
00000da0  e1 0d 04 dc 05 20 0d 07  d0 16 dd 20 f2 67 75 65  |..... ..... .gue|
00000db0  73 73 5f 74 77 6f 5f 63  61 72 64 73 0d 07 d2 12  |ss_two_cards....|
00000dc0  20 74 72 69 65 73 3d 74  72 69 65 73 2b 31 0d 07  | tries=tries+1..|
00000dd0  d3 05 20 0d 07 d5 1c 20  f5 20 6b 65 79 24 3d be  |.. .... . key$=.|
00000de0  3a f4 20 77 61 69 74 20  66 6f 72 20 6b 65 79 0d  |:. wait for key.|
00000df0  07 d7 1a 20 fd 20 6b 65  79 24 3e 22 30 22 20 80  |... . key$>"0" .|
00000e00  20 6b 65 79 24 3c 22 37  22 0d 07 e4 0e 20 76 3d  | key$<"7".... v=|
00000e10  bb 28 6b 65 79 24 29 0d  07 e6 1d 20 d4 31 2c 2d  |.(key$).... .1,-|
00000e20  31 30 2c 31 30 2a 28 bb  28 61 24 28 76 29 29 2d  |10,10*(.(a$(v))-|
00000e30  35 29 2c 33 0d 07 e9 17  20 e7 20 61 24 28 76 29  |5),3.... . a$(v)|
00000e40  3d 22 30 22 20 e5 20 8d  64 55 47 0d 07 ee 12 20  |="0" . .dUG.... |
00000e50  63 61 72 64 3d bb 28 61  24 28 76 29 29 0d 0b b8  |card=.(a$(v))...|
00000e60  13 20 6e 3d 76 3a f2 64  72 61 77 5f 63 61 72 64  |. n=v:.draw_card|
00000e70  0d 0b b9 05 20 0d 0b ba  16 20 f4 20 67 65 74 20  |.... .... . get |
00000e80  6e 65 78 74 20 6e 75 6d  62 65 72 0d 0b bd 23 20  |next number...# |
00000e90  f5 20 6b 65 79 24 3d be  3a fd 20 6b 65 79 24 3e  |. key$=.:. key$>|
00000ea0  22 30 22 20 80 20 6b 65  79 24 3c 22 37 22 0d 0b  |"0" . key$<"7"..|
00000eb0  cc 0e 20 77 3d bb 28 6b  65 79 24 29 0d 0b ce 1d  |.. w=.(key$)....|
00000ec0  20 d4 31 2c 2d 31 30 2c  28 31 30 2a bb 28 61 24  | .1,-10,(10*.(a$|
00000ed0  28 77 29 29 2d 35 29 2c  33 0d 0b d1 1d 20 e7 20  |(w))-5),3.... . |
00000ee0  61 24 28 77 29 3d 22 30  22 20 84 20 76 3d 77 20  |a$(w)="0" . v=w |
00000ef0  e5 20 8d 74 7d 4b 0d 0b  d6 12 20 63 61 72 64 3d  |. .t}K.... card=|
00000f00  bb 28 61 24 28 77 29 29  0d 0f a0 13 20 6e 3d 77  |.(a$(w)).... n=w|
00000f10  3a f2 64 72 61 77 5f 63  61 72 64 0d 0f a2 05 20  |:.draw_card.... |
00000f20  0d 0f aa 0e 20 fb 31 33  32 20 3a fb 20 33 0d 0f  |.... .132 :. 3..|
00000f30  b4 13 20 f1 20 8a 31 31  2c 34 29 3b 74 72 69 65  |.. . .11,4);trie|
00000f40  73 0d 0f be 05 20 0d 0f  c8 18 20 f4 20 63 68 65  |s.... .... . che|
00000f50  63 6b 20 66 6f 72 20 61  20 6d 61 74 63 68 0d 0f  |ck for a match..|
00000f60  d2 33 20 e7 20 61 24 28  76 29 3d 61 24 28 77 29  |.3 . a$(v)=a$(w)|
00000f70  20 f2 74 68 65 79 5f 6d  61 74 63 68 20 8b 20 f2  | .they_match . .|
00000f80  74 68 65 79 5f 64 6f 5f  6e 6f 74 5f 6d 61 74 63  |they_do_not_matc|
00000f90  68 0d 0f d4 05 e1 0d 0f  d5 05 20 0d 0f da 18 dd  |h......... .....|
00000fa0  20 f2 74 68 65 79 5f 64  6f 5f 6e 6f 74 5f 6d 61  | .they_do_not_ma|
00000fb0  74 63 68 0d 0f dc 12 20  d4 20 31 2c 2d 31 32 2c  |tch.... . 1,-12,|
00000fc0  31 30 2c 31 30 0d 0f e6  0c 20 fb 20 37 2b 31 32  |10,10.... . 7+12|
00000fd0  38 0d 0f eb 0c 20 f4 20  50 61 75 73 65 0d 0f f0  |8.... . Pause...|
00000fe0  13 20 74 3d 91 3a f5 20  fd 20 91 3d 74 2b 36 30  |. t=.:. . .=t+60|
00000ff0  0d 13 88 1d 20 6e 3d 76  3a f2 62 6c 61 6e 6b 3a  |.... n=v:.blank:|
00001000  f2 70 72 69 6e 74 5f 6e  75 6d 62 65 72 0d 13 92  |.print_number...|
00001010  1d 20 6e 3d 77 3a f2 62  6c 61 6e 6b 3a f2 70 72  |. n=w:.blank:.pr|
00001020  69 6e 74 5f 6e 75 6d 62  65 72 0d 13 ec 05 e1 0d  |int_number......|
00001030  13 f6 05 20 0d 14 50 11  dd 20 f2 74 68 65 79 5f  |... ..P.. .they_|
00001040  6d 61 74 63 68 0d 14 55  24 20 f4 20 6d 61 72 6b  |match..U$ . mark|
00001050  20 74 68 65 20 63 61 72  64 73 20 64 6f 77 6e 20  | the cards down |
00001060  61 73 20 63 68 6f 73 65  6e 0d 14 5a 18 20 61 24  |as chosen..Z. a$|
00001070  28 76 29 3d 22 30 22 3a  61 24 28 77 29 3d 22 30  |(v)="0":a$(w)="0|
00001080  22 0d 14 64 12 20 73 63  6f 72 65 3d 73 63 6f 72  |"..d. score=scor|
00001090  65 2b 31 0d 14 78 0f 20  e3 20 6e 3d 31 20 b8 20  |e+1..x. . n=1 . |
000010a0  31 34 0d 14 7d 16 20 20  d4 20 31 2c 2d 31 35 2c  |14..}.  . 1,-15,|
000010b0  b3 28 32 30 30 29 2c 31  0d 14 7f 08 20 ed 20 6e  |.(200),1.... . n|
000010c0  0d 14 82 05 e1 0d 14 8c  05 20 0d 1b 58 10 dd 20  |......... ..X.. |
000010d0  f2 64 72 61 77 5f 63 61  72 64 0d 1b 62 11 20 f7  |.draw_card..b. .|
000010e0  20 28 63 61 72 64 2a 31  30 30 29 0d 1b 6c 17 20  | (card*100)..l. |
000010f0  f2 64 65 66 69 6e 65 5f  63 68 61 72 61 63 74 65  |.define_characte|
00001100  72 73 0d 1b c6 19 20 fb  20 66 72 6f 6e 74 63 3a  |rs.... . frontc:|
00001110  fb 20 62 61 63 6b 63 2b  31 32 38 0d 1b d0 0e 20  |. backc+128.... |
00001120  e3 20 74 3d 30 20 b8 20  33 0d 1b da 19 20 20 20  |. t=0 . 3....   |
00001130  f1 20 8a a4 78 28 6e 29  2c 74 2b a4 79 28 6e 29  |. ..x(n),t+.y(n)|
00001140  29 3b 0d 1b e4 10 20 20  20 e3 20 73 3d 30 20 b8  |);....   . s=0 .|
00001150  20 33 0d 1b e9 17 20 20  20 20 20 f1 bd 28 32 32  | 3....     ..(22|
00001160  34 2b 73 2b 74 2a 34 29  3b 0d 1b ee 0a 20 20 20  |4+s+t*4);....   |
00001170  ed 20 73 0d 1b f8 08 20  ed 20 74 0d 1c 02 05 e1  |. s.... . t.....|
00001180  0d 1c 0c 05 20 0d 1f a4  0c dd 20 f2 74 75 6e 65  |.... ..... .tune|
00001190  73 0d 1f ae 17 20 74 75  6e 65 3d b3 28 33 29 2a  |s.... tune=.(3)*|
000011a0  31 30 30 2b 39 30 30 30  0d 1f b8 0b 20 f7 20 74  |100+9000.... . t|
000011b0  75 6e 65 0d 1f c2 06 20  f5 0d 1f cc 0b 20 20 f3  |une.... .....  .|
000011c0  20 61 2c 62 0d 1f ce 19  20 76 6f 6c 3d 2d 31 35  | a,b.... vol=-15|
000011d0  3a e7 20 62 3d 39 39 20  76 6f 6c 3d 30 0d 1f d1  |:. b=99 vol=0...|
000011e0  13 20 20 f4 20 66 6c 61  73 68 20 63 61 72 64 73  |.  . flash cards|
000011f0  0d 1f d6 18 20 20 ef 31  39 2c 30 2c b3 28 38 29  |....  .19,0,.(8)|
00001200  2d 31 2c 30 2c 30 2c 30  0d 1f d8 18 20 20 ef 31  |-1,0,0,0....  .1|
00001210  39 2c 33 2c b3 28 38 29  2d 31 2c 30 2c 30 2c 30  |9,3,.(8)-1,0,0,0|
00001220  0d 1f da 18 20 20 ef 31  39 2c 37 2c b3 28 38 29  |....  .19,7,.(8)|
00001230  2d 31 2c 30 2c 30 2c 30  0d 1f e0 15 20 20 d4 31  |-1,0,0,0....  .1|
00001240  2c 76 6f 6c 2c 62 2a 34  2b 35 30 2c 61 0d 1f ea  |,vol,b*4+50,a...|
00001250  0a 20 fd 20 61 3d 30 0d  1f fe 08 20 ef 32 30 0d  |. . a=0.... .20.|
00001260  20 12 05 e1 0d 20 1c 05  20 0d 23 82 1e 20 f4 20  | .... .. .#.. . |
00001270  50 6f 6c 6c 79 20 70 75  74 20 74 68 65 20 6b 65  |Polly put the ke|
00001280  74 74 6c 65 20 6f 6e 0d  23 8c 4b 20 dc 20 34 2c  |ttle on.#.K . 4,|
00001290  37 2c 34 2c 39 2c 34 2c  37 2c 34 2c 35 2c 34 2c  |7,4,9,4,7,4,5,4,|
000012a0  34 2c 33 2c 30 2c 31 2c  39 39 2c 38 2c 30 2c 34  |4,3,0,1,99,8,0,4|
000012b0  2c 32 2c 34 2c 34 2c 34  2c 32 2c 34 2c 30 2c 34  |,2,4,4,4,2,4,0,4|
000012c0  2c 2d 31 2c 33 2c 2d 35  2c 31 2c 39 39 2c 38 2c  |,-1,3,-5,1,99,8,|
000012d0  2d 35 0d 23 96 43 20 dc  20 34 2c 37 2c 34 2c 39  |-5.#.C . 4,7,4,9|
000012e0  2c 34 2c 37 2c 34 2c 35  2c 34 2c 34 2c 33 2c 30  |,4,7,4,5,4,4,3,0|
000012f0  2c 31 2c 39 39 2c 34 2c  30 2c 34 2c 34 2c 38 2c  |,1,99,4,0,4,4,8,|
00001300  2d 33 2c 36 2c 2d 31 2c  31 2c 30 2c 31 2c 39 39  |-3,6,-1,1,0,1,99|
00001310  2c 31 32 2c 30 0d 23 98  4b 20 dc 20 34 2c 37 2c  |,12,0.#.K . 4,7,|
00001320  34 2c 39 2c 34 2c 37 2c  34 2c 35 2c 34 2c 34 2c  |4,9,4,7,4,5,4,4,|
00001330  33 2c 30 2c 31 2c 39 39  2c 38 2c 30 2c 34 2c 32  |3,0,1,99,8,0,4,2|
00001340  2c 34 2c 34 2c 34 2c 32  2c 34 2c 30 2c 34 2c 2d  |,4,4,4,2,4,0,4,-|
00001350  31 2c 33 2c 2d 35 2c 31  2c 39 39 2c 38 2c 2d 35  |1,3,-5,1,99,8,-5|
00001360  0d 23 9a 43 20 dc 20 34  2c 37 2c 34 2c 39 2c 34  |.#.C . 4,7,4,9,4|
00001370  2c 37 2c 34 2c 35 2c 34  2c 34 2c 33 2c 30 2c 31  |,7,4,5,4,4,3,0,1|
00001380  2c 39 39 2c 34 2c 30 2c  34 2c 34 2c 38 2c 2d 33  |,99,4,0,4,4,8,-3|
00001390  2c 36 2c 2d 31 2c 31 2c  30 2c 31 2c 39 39 2c 31  |,6,-1,1,0,1,99,1|
000013a0  32 2c 30 0d 23 a0 0a 20  dc 20 30 2c 30 0d 23 e6  |2,0.#.. . 0,0.#.|
000013b0  1a 20 f4 20 50 6f 70 20  67 6f 65 73 20 74 68 65  |. . Pop goes the|
000013c0  20 77 65 61 73 65 6c 0d  23 f0 36 20 dc 20 33 2c  | weasel.#.6 . 3,|
000013d0  33 2c 31 2c 39 39 2c 32  2c 33 2c 33 2c 35 2c 31  |3,1,99,2,3,3,5,1|
000013e0  2c 39 39 2c 32 2c 35 2c  32 2c 37 2c 32 2c 31 30  |,99,2,5,2,7,2,10|
000013f0  2c 32 2c 37 2c 34 2c 33  2c 32 2c 2d 32 0d 23 fa  |,2,7,4,3,2,-2.#.|
00001400  32 20 dc 20 33 2c 33 2c  31 2c 39 39 2c 32 2c 33  |2 . 3,3,1,99,2,3|
00001410  2c 33 2c 35 2c 31 2c 39  39 2c 32 2c 35 2c 36 2c  |,3,5,1,99,2,5,6,|
00001420  37 2c 32 2c 33 2c 32 2c  39 39 2c 32 2c 2d 32 0d  |7,2,3,2,99,2,-2.|
00001430  24 04 55 20 dc 20 33 2c  33 2c 31 2c 39 39 2c 32  |$.U . 3,3,1,99,2|
00001440  2c 33 2c 33 2c 35 2c 31  2c 39 39 2c 32 2c 35 2c  |,3,3,5,1,99,2,5,|
00001450  32 2c 37 2c 32 2c 31 30  2c 32 2c 37 2c 34 2c 33  |2,7,2,10,2,7,4,3|
00001460  2c 32 2c 39 39 2c 31 2c  31 31 2c 33 2c 31 32 2c  |,2,99,1,11,3,12,|
00001470  32 2c 39 39 2c 34 2c 35  2c 32 2c 38 2c 36 2c 37  |2,99,4,5,2,8,6,7|
00001480  2c 32 2c 33 0d 24 36 0a  20 dc 20 30 2c 30 0d 24  |,2,3.$6. . 0,0.$|
00001490  4a 17 20 f4 20 54 68 72  65 65 20 62 6c 69 6e 64  |J. . Three blind|
000014a0  20 6d 69 63 65 0d 24 54  13 20 dc 20 36 2c 34 2c  | mice.$T. . 6,4,|
000014b0  36 2c 32 2c 31 32 2c 30  0d 24 5e 13 20 dc 20 36  |6,2,12,0.$^. . 6|
000014c0  2c 34 2c 36 2c 32 2c 31  32 2c 30 0d 24 68 1c 20  |,4,6,2,12,0.$h. |
000014d0  dc 20 36 2c 37 2c 32 2c  35 2c 32 2c 34 2c 32 2c  |. 6,7,2,5,2,4,2,|
000014e0  35 2c 31 32 2c 34 20 0d  24 72 1b 20 dc 20 36 2c  |5,12,4 .$r. . 6,|
000014f0  37 2c 32 2c 35 2c 32 2c  34 2c 32 2c 35 2c 31 32  |7,2,5,2,4,2,5,12|
00001500  2c 34 0d 24 7c 3f 20 dc  20 32 2c 37 2c 33 2c 31  |,4.$|? . 2,7,3,1|
00001510  32 2c 31 2c 39 39 2c 32  2c 31 32 2c 32 2c 31 31  |2,1,99,2,12,2,11|
00001520  2c 32 2c 39 2c 32 2c 31  31 2c 33 2c 31 32 2c 31  |,2,9,2,11,3,12,1|
00001530  2c 39 39 2c 32 2c 31 32  2c 33 2c 37 2c 31 2c 39  |,99,2,12,3,7,1,9|
00001540  39 0d 24 86 49 20 dc 20  32 2c 37 2c 31 2c 31 32  |9.$.I . 2,7,1,12|
00001550  2c 31 2c 39 39 2c 31 2c  31 32 2c 31 2c 39 39 2c  |,1,99,1,12,1,99,|
00001560  32 2c 31 32 2c 32 2c 31  31 2c 32 2c 39 2c 32 2c  |2,12,2,11,2,9,2,|
00001570  31 31 2c 33 2c 31 32 2c  31 2c 39 39 2c 32 2c 31  |11,3,12,1,99,2,1|
00001580  32 2c 33 2c 37 2c 31 2c  39 39 0d 24 90 3f 20 dc  |2,3,7,1,99.$.? .|
00001590  20 32 2c 37 2c 33 2c 31  32 2c 31 2c 39 39 2c 32  | 2,7,3,12,1,99,2|
000015a0  2c 31 32 2c 32 2c 31 31  2c 32 2c 39 2c 32 2c 31  |,12,2,11,2,9,2,1|
000015b0  31 2c 33 2c 31 32 2c 31  2c 39 39 2c 32 2c 31 32  |1,3,12,1,99,2,12|
000015c0  2c 33 2c 37 2c 31 2c 39  39 0d 24 9a 17 20 dc 20  |,3,7,1,99.$.. . |
000015d0  32 2c 35 2c 36 2c 34 2c  36 2c 32 2c 31 32 2c 30  |2,5,6,4,6,2,12,0|
000015e0  0d 24 a4 0a 20 dc 20 30  2c 30 0d ff              |.$.. . 0,0..|
000015ec
Me+MyMicro/PAIRS.m0
Me+MyMicro/PAIRS.m1
Me+MyMicro/PAIRS.m2
Me+MyMicro/PAIRS.m4
Me+MyMicro/PAIRS.m5