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 concieved this program back in 1995, and started to code it, but never actually got anywhere with it. Then in August of 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 laterm, here is the result. Enjoy...
To use the program:
LOAD "PETRIS",8 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. |