Readme for Petris v. 0.7
Petris is Peter's Tetris
You can do whatever you want with the program, it's Public Domain. (however, it would be nice of you to credit me if you found anything of this useful).
Type "make" to build an executable file named "petris"; "make clean" will remove the created obj. files. You can copy the executable to some place you like (or find appropriate.) Before you build, you can edit the config.h file to change the key bindings.
You may invoke the program with a command line argument specifying the size of the well on the for [WIDTH]x[HEIGHT]. Example: petris 12x25
IMPORTANT NOTE: The highscore facility isn't implemented yet. This version only contains a rough framework for doing this. That's why you only get a beep when trying to view the highscore list.
2nd IMPORTANT NOTE: After a CTRL-C abort of the game, the curser stays invisible. You can type "setterm -reset" to get it back.
The game has been tested and compiled on an x86 / SuSE 6.4 but will
probably work fine on any Linux Box.
Other Unices may work too. However, this program depends on the
select() system call to modify the contents of the timeval struct
pointed to by the last argument to indicate the time remaining.
Some systems never changes this value!
Feel free to send feedback, bug-reports and other useful things to:
Peter Seidler <p.seidler@mail1.stofanet.dk>
