clr
location 1,1
print "jōɈړ@kŉEɈړ@Ă镶EQ[ł"
wait

waitcount

count=waitcount/25

system.io.inputblock=0

i=0
point=0
by=1

loop3:
i=i+1
if i>count then i=0

if i==0 then
	bx=bx+1
	flag=1
endif

input c

if c=="k" then
	y=y+1
	flag=1
endif

if c=="j" then
	y=y-1
	flag=1
endif


if y<1 then
	y=1
	flag=1
endif

if y>70 then
	y=70
	flag=1
endif

if 21==bx then
	if y<=by && (y+3)>=by then
		point=point+1
	else
		point=0
	endif

	bx=0
	by=rand/143
	abs by
	by=abs
	if by<=0 then by=1
	flag=1
endif

if flag then
	display
	flag=0
endif

if c<>"e" then goto loop3:

system.io.inputblock=1


@display
	clr
	location bx,by
	print "$"
	location 20,y
	print "____"
	location 21,y
	print point
_@


@waitcount
	this=0

	pos=time.sec

waitcount_loop1:
	if pos==time.sec then goto waitcount_loop1:

	pos=time.sec

waitcount_loop2:
	this=this+1

	if pos==time.sec then goto waitcount_loop2:
_@
