Reference

Fours(1)

collection of simple Tetris-like games

NAME

Fours - collection of simple Tetris-like games

SYNTAX

Fours [-scores]

DESCRIPTION

These are simple games of real-time bin packing. During the game objects composed of 2, 3, 4 or 5 squares appear at the top of board and drift downward. They stop when they land on the bottom of the board or another object. During an object's fall, you can control the location and orientation of the object. The following keys control falling objects:

       d     - moves the object 1 square to the left
       f     - rotates the object 90 degrees counterclockwise
       j     - rotates the object 90 degrees clockwise
       k     - moves the object 1 square to the right
       space - drops the object as many squares as possible
                 and scores points

Whenever a solid row of objects is built, the row disappers and you're awarded some points. The game is finished when an object is stuck in the top row.

The object is to score more points than anyone else you know.

Click "Go" to start the game.

If "-scores" is specified, the score file is printed and no game is started.

Your best score is retained in a file. If the environment variable "GAMEALIAS" is defined, it will be used as your name in the score file. Otherwise, your login name is used.

BUGS/MISFEATURES

Be serious, this is a quick hack.

TASKS FOR THE BORED

Do a better job with the animation.

Add non-90-degree rotations.

Add sound effects.

Pick beautiful colors.

Build a multi-player version....

ACKNOWLEDGEMENTS

I saw a similar game called "tetris" on a PC.

AUTHOR OF OBJECT

Bill Kalsow

AUTHOR OF DOCUMENTATION

Bill Kalsow