let b14 = 0 ; person weight
let b15 = 0 ; Skill, (/5)
let b16 = 0 ; Age
let b17 = 0 ; able to sweep 1= yes 0= no
let b18 = 0 ; sex 0= female 1= male
let b19 = 0 ; crew number so far
let b20 = 0 ; boat size
let b21 = 0 ; skull of sweep 0skull 1sweep
let b22 = 0 ; boat weight
let b23 = 0 ; skill level of boat (/5)
let b24 = 0 ; size of boat selected
; ibutton
let b6 = 0
let b7 = 0
let b8 = 0
let b9 = 0
let b10 = 0
let b11 = 0
let b12 = 0
let b13 = 0
pause 500
serout c.4,t2400,(10)
pause 50
serout c.4,t2400,(20,1)
pause 50
serout c.4,t2400,(100,1,2,0,"Boat House")
pause 50
serout c.4,t2400,(100,1,3,0,"Manager")
pause 50
serout c.4,t2400,(155,1,110,15,85,40); right blades
pause 50
serout c.4,t2400,(155,1,85,15,110,40)
pause 50
serout c.4,t2400,(150,110,14);Right spoon
pause 50
serout c.4,t2400,(150,111,15)
pause 50
serout c.4,t2400,(155,1,112,15,116,11)
pause 50
serout c.4,t2400,(155,1,110,13,114,9)
pause 50
serout c.4,t2400,(155,1,116,11,114,9)
pause 50
serout c.4,t2400,(150,85,14);left spoon
pause 50
serout c.4,t2400,(150,84,15)
pause 50
serout c.4,t2400,(155,1,85,13,81,9)
pause 50
serout c.4,t2400,(155,1,83,15,79,11)
pause 50
serout c.4,t2400,(155,1,79,11,81,9)
wait 3
serout c.4,t2400,(10) ; clear screen
; boat selection
pause 500
serout c.4,t2400,(10)
pause 50
serout c.4,t2400,(20,1)
pause 50
main:
serout c.4,t2400,(155,1,25,60,100,60); top line ( boat 1 )
pause 50
serout c.4,t2400,(155,1,101,59,118,55); left edge
pause 50
serout c.4,t2400,(155,1,101,50,118,55)
pause 50
serout c.4,t2400,(155,1,25,50,100,50); bottom line
pause 50
serout c.4,t2400,(155,1,25,59,8,55); right edge
pause 50
serout c.4,t2400,(155,1,8,55,25,50)
pause 50
Serout c.4,t2400,(160,1,40,55,5)
pause 50
Serout c.4,t2400,(160,1,55,55,5)
pause 50
Serout c.4,t2400,(160,1,70,55,5)
pause 50
Serout c.4,t2400,(160,1,85,55,5)
pause 50
serout c.4,t2400,(155,1,25,40,100,40); top line ( boat 2 )
pause 50
serout c.4,t2400,(155,1,101,39,118,35); left edge
pause 50
serout c.4,t2400,(155,1,101,30,118,35)
pause 50
serout c.4,t2400,(155,1,25,30,100,30); bottom line
pause 50
serout c.4,t2400,(155,1,25,39,8,35); right edge
pause 50
serout c.4,t2400,(155,1,8,35,25,30)
pause 50
Serout c.4,t2400,(160,1,50,35,5)
pause 50
Serout c.4,t2400,(160,1,75,35,5)
pause 50
serout c.4,t2400,(155,1,25,20,100,20); top line ( boat 3 )
pause 50
serout c.4,t2400,(155,1,101,19,118,15); left edge
pause 50
serout c.4,t2400,(155,1,101,10,118,15)
pause 50
serout c.4,t2400,(155,1,25,10,100,10); bottom line
pause 50
serout c.4,t2400,(155,1,25,19,8,15); right edge
pause 50
serout c.4,t2400,(155,1,8,15,25,10)
pause 50
Serout c.4,t2400,(160,1,63,15,5)
pause 50
do
if pinb.7 = 1 then let b24 = 1 endif
if pinb.7 = 1 then goto skulls
if pinb.6 = 1 then let b24 = 2 endif
if pinb.6 = 1 then goto skulls
if pinb.5 = 1 then let b24 = 4 endif
if pinb.5 = 1 then goto skulls
loop
skulls:
pause 500
serout c.4,t2400,(10)
pause 50
serout c.4,t2400,(20,1)
pause 50
serout c.4,t2400,(155,1,64,0,64,63) ; center line
pause 50
serout c.4,t2400,(100,3,6,0,"Sweep"); text
pause 50
serout c.4,t2400,(100,12,6,0,"Sculling")
pause 50
serout c.4,t2400,(155,1,31,15,31,40); left blade
pause 50
serout c.4,t2400,(150,30,14)
pause 50
serout c.4,t2400,(150,32,14)
pause 50
serout c.4,t2400,(155,1,29,8,29,13)
pause 50
serout c.4,t2400,(155,1,33,8,33,13)
pause 50
serout c.4,t2400,(155,1,33,7,29,7)
pause 50
serout c.4,t2400,(155,1,110,15,85,40); right blades
pause 50
serout c.4,t2400,(155,1,85,15,110,40)
pause 50
serout c.4,t2400,(150,110,14);Right spoon
pause 50
serout c.4,t2400,(150,111,15)
pause 50
serout c.4,t2400,(155,1,112,15,116,11)
pause 50
serout c.4,t2400,(155,1,110,13,114,9)
pause 50
serout c.4,t2400,(155,1,116,11,114,9)
pause 50
serout c.4,t2400,(150,85,14);left spoon
pause 50
serout c.4,t2400,(150,84,15)
pause 50
serout c.4,t2400,(155,1,85,13,81,9)
pause 50
serout c.4,t2400,(155,1,83,15,79,11)
pause 50
serout c.4,t2400,(155,1,79,11,81,9)
do
if pinb.7 = 1 then let b21 = 1 endif
if pinb.7 = 1 then goto ibutton
if pinb.5 = 1 then let b21 = 0 endif
if pinb.5 = 1 then goto ibutton
loop
ibutton:
pause 50
serout c.4,t2400,(10)
pause 50
serout c.4,t2400,(100,1,1,0,"Rowers Needed= ",#b24)
pause 50
if b21 = 0 then serout c.4,t2400,(100,1,2,0,"Skulling selected") endif
if b21 = 1 then serout c.4,t2400,(100,1,2,0,"Sweep selected") endif
Wait 3
serout c.4,t2400,(100,1,4,0,"please use Ibutton")
pause 50
Loop1:
readowsn c.7 ; ibutton scan
if b6 =1 and b7 =116 and b8 =136 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =55 then AlexR
if b6 =1 and b7 =245 and b8 =117 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =160 then MattH
if b6 =1 and b7 =5 and b8 =161 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =147 then RossB
if b6 =1 and b7 =227 and b8 =196 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =203 then JamieN
if b6 =1 and b7 =240 and b8 =195 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =152 then JessC
if b6 =1 and b7 =137 and b8 =95 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =0 then KeelyM
if b6 =1 and b7 =215 and b8 =182 and b9 =106 and b10 =23 and b11 =0 and b12 =0 and b13 =20 then JonL
Goto Loop1
AlexR:
pause 50
serout c.4,t2400,(10)
let b14 = b14 + 75 ; wieght
let b15 = b15 + 4 ; skill
let b16 = b16 + 18 ; Age
let b17 = b17 + 1 ; able to sweep
let b18 = b18 + 1 ; sex
let b19 = b19 + 1 ; crew number
pause 500
serout c.4,t2400,(10)
pause 50
serout c.4,t2400,(20,1)
pause 50
serout c.4,t2400,(100,1,1,0,"Alex Rowland")
pause 50
serout c.4,t2400,(100,1,2,0,"Sex = Male")
pause 50
serout c.4,t2400,(100,1,3,0,"Age = 18")
pause 50
serout c.4,t2400,(100,1,4,0,"Skill Level = 4/5")
pause 50
serout c.4,t2400,(100,1,5,0,"Weight = 75Kg ")
pause 50
serout c.4,t2400,(100,1,6,0,"Sweep = Yes")
wait 5
serout c.4,t2400,(10) ; screenclear
pause 50
if b19 = b24 then goto finalstage
serout c.4,t2400,(100,1,3,0,"Next person sign in")
wait 3
serout c.4,t2400,(10) ; screenclear
pause 50
goto loop1:
MattH:
pause 50
serout c.4,t2400,(10)
let b14 = b14 + 80 ;Weight
let b15 = b15 + 4 ;Skill
let b16 = b16 + 18 ;age
let b17 = b17 + 1 ;able to sweep
let b18 = b18 + 1 ;sex
let b19 = b19 + 1 ;crew number
pause 50
serout c.4,t2400,(100,1,1,0,"Matt Harris")
pause 100
serout c.4,t2400,(100,1,2,0,"Sex = Male")
pause 100
serout c.4,t2400,(100,1,3,0,"Age = 18")
pause 100
serout c.4,t2400,(100,1,4,0,"Skill Level = 4/5")
pause 100
serout c.4,t2400,(100,1,5,0,"Weight = 80Kg ")
pause 50
serout c.4,t2400,(100,1,6,0,"Sweep = Yes")
wait 5
serout c.4,t2400,(10) ; screenclear
pause 50
if b19 = b20 then goto finalstage
serout c.4,t2400,(100,1,3,0,"Next person sign in")
wait 3
serout c.4,t2400,(10) ; screenclear
pause 50
goto loop1:
RossB:
pause 50
serout c.4,t2400,(10)
let b14 = b14 + 70 ;Weight
let b15 = b15 + 4 ;Skill
let b16 = b16 + 18 ;age
let b17 = b17 + 1 ;able to sweep
let b18 = b18 + 1 ;sex
let b19 = b19 + 1 ;crew number
pause 50
serout c.4,t2400,(100,1,1,0,"Ross Bennet")
pause 100
serout c.4,t2400,(100,1,2,0,"Sex = Male")
pause 100
serout c.4,t2400,(100,1,3,0,"Age = 18")
pause 100
serout c.4,t2400,(100,1,4,0,"Skill Level = 4/5")
pause 100
serout c.4,t2400,(100,1,5,0,"Weight = 70Kg ")
pause 50
serout c.4,t2400,(100,1,6,0,"Sweep = Yes")
wait 5
serout c.4,t2400,(10) ; screenclear
pause 50
if b19 = b24 then goto finalstage
serout c.4,t2400,(100,1,3,0,"Next person sign in")
wait 3
serout c.4,t2400,(10) ; screenclear
pause 50
goto loop1: