home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
GLEN
/
WBT20A.ZIP
/
SOL.WBT
< prev
next >
Wrap
Text File
|
1991-01-07
|
592b
|
25 lines
;* solitare.wbt *
mins=askline("Solitaire","How many minutes do you want to play?","")
if winexist("Solitaire")==@true then goto activate
runzoom("sol","")
goto loaded
:activate
winactivate("Solitaire")
winzoom("Solitaire")
:loaded
sendkey("!gc{right}{sp}~")
goal=mins*60
timer=0
:moretime
remain=goal-timer
if !WinExist("Solitaire") then Exit
wintitle("Solitaire","Solitaire (%remain% seconds left)")
delay(10)
timer=timer+10
if timer<goal then goto moretime
beep
winclose("Solitaire")
message("Time's up","Get back to work!")