KNIGLKNIGHTSKNIGL !BOOT 3 # #/*BASIC
PAGE=&1900
*FX21
CLOSE#0:CHAIN "KNIGL"
***KNIGHTSBRIDGE***
# ***from The Virgin Computer**
# *********Games Series********
$ ***By Alex Gollner***
*FX200,3
7
23;11;0;
''
$" KNIGHTSBRIDGE "
$" KNIGHTSBRIDGE "
(''"Knightsbridge is a game played on a 7 x 7 draughts board, with each player having seven chess knights as pieces (this explains the name). The computer throws a dice that determines which"
2p"piece the human player must move, then it throws a dice for itself to determinewhich piece it must move."
7
<"All pieces move like knights in chess (and you are not allowed to cheat) and a piece is captured by the opponent landing on top of it."
A
FF"The first player to capture five of the opponent's pieces wins."
P/''" Press SPACE to continue":*FX15
Z =32:28,0,22,39,4::*FX15
d'"You move the indicated piece by telling the computer which square you wish to move to. The board is labelled one to seven along the top and bottom, and from seven to one down the sides."
n"You enter the number along the side (6 for example) then the number along the top (4 for example) as a single number (that is 64) to move your piece onto square number 64."
s
x<"You will be swiftly chastised if you try to cheat."
}
K"You can concede at any time by entering 99 when asked for your move."
=32:26,12
=&1900:"KNIGHTS"
KNIGHTSBRIDGE
( init
2
<print_board
Fcomputer_moves
Pprint_board
Zplayer_moves
d
n!4
x player_moves
Q=0
M=(66)+10
Q=Q+1
Q=500 end_of_game
H(M)<>72 tL@
wait=
wait=350
; (134);" You must move the piece on";(131);M;" "
*FX21,0
N
P=0
N=99 Q=500:end_of_game
CT=1
M+Z(CT)=N P=1
CT<8 CT=CT+1:dz@
P=0 raspberry:dR@
H(N)=67 HU=HU+1:joy
"H(M)=255
,H(N)=72
6
@ computer_moves
JQ1=0
TQ1=Q1+1
^K=(66)+10
h Q1=500 DlB
r H(K)<>67 DTA

wait=
wait=600
= (133);"I have to move the piece on";(129);K;" "'" "
wait=
wait=600
W=1
" K+Z(W)<11 K+Z(W)>77 dLA
# H(K+Z(W))=72 victory:d~A
W77) W<8 W=W+1:d`A
& H(K+Z(W))<>255 W<8 W=W+1:djA
0 W=8 H(K+Z(W))<>255 Q1=500:end_of_game
X=K
Y=K+Z(W)
H(X)=255
H(Y)=67
&
0 victory
:CO=CO+1
D Y=1 (20)+10
N 3,15,(250),4
X
b
l print_board
v (30)'
score
8) "1 2 3 4 5 6 7"
7) (133);"_______"
M=70 10 10
5) (135);M/10;
N=1 7
H(M+N)=255 130,255
H(M+N)=67 129,42
H(M+N)=72 131,37
(135);M/10'
7) (133);"_______"
8) "1 2 3 4 5 6 7"
end_of_game
# HU=5 "You have beaten me"
*U CO=5 "This victory is the first step in our"'"plan to take over the world!"
4/ Q=500 "I accept your wish to concede"
>/ Q1=500 "I concede the game to Master"
C*FX15,0
H A=:
R
\ init
fX=0
pQ1=0
zQ=0
23;8202;0;0;0;
HU=0
CO=0
H(99),Z(8)
A=1 99
W A>77 A=70 A=60 A=68 A=69 A=50 A=59 A=58 A=40 A=49 A=48 drC
I A=30 A=38 A=39 A=20 A=28 A=29 A=18 A=19 A<11 drC
H(A)=255
A>70 A<78 H(A)=67
A>10 A<18 H(A)=72
A=1 8
B
Z(A)=B
$ 8,21,12,19,19,12,21,8
.
8 raspberry
B7 (11);(11);(129);"No,no,no!! Move the piece on"
L N=1 (24)
V 1,15,1004*N,1
`
j
t score
~9 (130);" My score is ";CO;(131);" Yours is ";HU
joy
J=255 200 5
3,15,J,3