Sponsored Content
Full Discussion: UNIX games?
Top Forums UNIX for Dummies Questions & Answers UNIX games? Post 302217752 by Ikon on Wednesday 23rd of July 2008 12:58:01 PM
Old 07-23-2008
Someone sent me this the other day.

sed based tetris:

peter_lemenkov - sedtris - tetris written in SED
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

games

i have installed SDL int /opt and i installed a game with pkgadd in /usr/local and when i try to start the game i says: ld.so.1: ./gamename: fatal: libSDL-1.1.so.0: open failed: No such file or directory what should i do (1 Reply)
Discussion started by: CreamHarry
1 Replies

2. UNIX for Dummies Questions & Answers

lokie games?

for some reson lokie games do not let me play the games on my linux box i go and install it but will not let me play them acts like it wants to run the game but will not open what do i do i have return to wolfinstine and unreal 2003 and seriurs sam and quake 1,2,3 and starwars jedi 2 and... (1 Reply)
Discussion started by: amicrawler2000
1 Replies

3. What is on Your Mind?

Games?

So what kind of games we all play? If any? I like RTS, C&C fan here all the way :p (8 Replies)
Discussion started by: woofie
8 Replies

4. UNIX for Dummies Questions & Answers

games in unix?

I was wondering if anyone had a script file for a game or a puzzle in a script file? Or something fun, like a quiz (2 Replies)
Discussion started by: JamieMurry
2 Replies

5. Homework & Coursework Questions

Playing games from another directory?

If "photopia.dat" is a game. To play it, you would normally type "frotz photopia.dat" (assuming you are in the directory where photopia.dat resides). But what if you are in your home directory, photopia.dat is in the newly created "games" directory, and you want to play it without switching... (1 Reply)
Discussion started by: greeky
1 Replies

6. What is on Your Mind?

Of Computer wizards and games

You guys are really are a genius, you make computer processing more easy for us end users. You just don't make wonders but you also make good computer games too. Really there is a fast evolution on the era of the computer world. Thanks to you guys! __________________ The Cute Angry Birds... (0 Replies)
Discussion started by: methusela123
0 Replies

7. Ubuntu

use VM to play games in Windows (Intense Games)

I have Ubunut installed on my desktop AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases) 16 GB of DDR3 1333 RAM SSD some HDD's Nvidia 560 ti 1GB My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies

8. Post Here to Contact Site Administrators and Moderators

Where Are the Games?

Hi! I'm new to the site, and today I clicked on "Banking", curious as to what that was about. Aside from being able to "buy" things with these points, it appears there are some games available, on which you can wager your points. While I could access the "high scores", I could not find the... (14 Replies)
Discussion started by: sudon't
14 Replies

9. What is on Your Mind?

Favourite Games console

So what is everyones all time favourite games console and why do you like it? (Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies
TETRIS(6)							 BSD Games Manual							 TETRIS(6)

NAME
tetris -- the game of tetris SYNOPSIS
tetris [-ps] [-k keys] [-l level] DESCRIPTION
The tetris command runs display-based game which must be played on a CRT terminal. The object is to fit the shapes together forming complete rows, which then vanish. When the shapes fill up to the top, the game ends. You can optionally select a level of play, or custom-select control keys. The default level of play is 2. The default control keys are as follows: j move left k rotate 1/4 turn counterclockwise l move right <space> drop p pause q quit The options are as follows: -k The default control keys can be changed using the -k option. The keys argument must have the six keys in order, and, remember to quote any space or tab characters from the shell. For example: tetris -l 2 -k 'jkl pq' will play the default games, i.e. level 2 and with the default control keys. The current key settings are displayed at the bottom of the screen during play. -l Select a level of play. -s Display the top scores. -p Switch on previewing of the shape that will appear next. PLAY
At the start of the game, a shape will appear at the top of the screen, falling one square at a time. The speed at which it falls is deter- mined directly by the level: if you select level 2, the blocks will fall twice per second; at level 9, they fall 9 times per second. (As the game goes on, things speed up, no matter what your initial selection.) When this shape ``touches down'' on the bottom of the field, another will appear at the top. You can move shapes to the left or right, rotate them counterclockwise, or drop them to the bottom by pressing the appropriate keys. As you fit them together, completed horizontal rows vanish, and any blocks above fall down to fill in. When the blocks stack up to the top of the screen, the game is over. SCORING
You get one point for every block you fit into the stack, and one point for every space a block falls when you hit the drop key. (Dropping the blocks is therefore a good way to increase your score.) Your total score is the product of the level of play and your accumulated points -- 200 points on level 3 gives you a score of 600. Each player gets at most one entry on any level, for a total of nine scores in the high scores file. Players who no longer have accounts are limited to one score. Also, scores over 5 years old are expired. The exception to these conditions is that the highest score on a given level is always kept, so that following generations can pay homage to those who have wasted serious amounts of time. The score list is produced at the end of the game. The printout includes each player's overall ranking, name, score, and how many points were scored on what level. Scores which are the highest on a given level are marked with asterisks ``*''. FILES
/var/games/tetris.scores high score file AUTHORS
Adapted from a 1989 International Obfuscated C Code Contest winner by Chris Torek and Darren F. Provine. Manual adapted from the original entry written by Nancy L. Tinkham and Darren F. Provine. Code for previewing next shape added by Hubert Feyrer in 1999. BUGS
The higher levels are unplayable without a fast terminal connection. BSD
May 31, 1993 BSD
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy