home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 225
/
225.d81
/
t.petris
< prev
next >
Wrap
Text File
|
2022-08-26
|
953b
|
44 lines
u
PETRIS
Tetris for the PET and beyond
(C)2002 Curtis F Kaylor
Petris is a 100% Commodore (8-Bit)
BASIC 2.0 Tetris style game. It has
been tested on emulators for the PET,
CBM, VIC 20, C64, and C128. In
addition it should run on the 16 and
Plus/4. I originally conceived this
program back in 1995, and started to
code it, but never actually got
anywhere with it. Then in Augustof
2002, I came across the 2nd Annual
Minigame Competition. Since an
unexpanded Vic-20 has only 3k of ram
anyway, it seemed only natural to try
to squeeze the program into 1k. Six
hours of coding later, here is the
result. Enjoy...
To use the program:LOAD"PETRIS",8 and
RUN.
Keys:
CURSOR-DOWN Move Left
CURSOR-RIGHT Move
Right
SPACE-BAR Rotate Piece
There is no "drop" function, and
the pieces never speed up (this is as
fast as BASIC gets folks). When the
game is over, the program
unceremoniously dumps to the "READY."
prompt.