Minor fix to score printout
This commit is contained in:
parent
42bbb90acf
commit
13df8be29f
|
@ -53,6 +53,7 @@ call prng()
|
|||
piece=rr%5
|
||||
call loresmix()
|
||||
while 1
|
||||
score=0
|
||||
pr.ch clrscr
|
||||
call clrlomix()
|
||||
call frame()
|
||||
|
@ -71,7 +72,6 @@ endwhile
|
|||
end
|
||||
|
||||
sub playgame()
|
||||
score=0
|
||||
while 1
|
||||
key=getkey()
|
||||
orow=row;ocol=col;orot=rot
|
||||
|
@ -87,6 +87,11 @@ sub playgame()
|
|||
else
|
||||
if (key=='d')&&rok
|
||||
col=col+1
|
||||
else
|
||||
if key=='p'
|
||||
while getkey()==0
|
||||
endwhile
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@ -494,6 +499,7 @@ endsub
|
|||
sub printscore()
|
||||
^hpos=17
|
||||
pr.dec score
|
||||
pr.msg " "
|
||||
endsub
|
||||
|
||||
sub loser()
|
||||
|
|
Loading…
Reference in New Issue