5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
GitHub - deepgrace/tetris: Tetris implementation in all kinds of Programming Languages
Usage: bash Tetris_Game ] ] ] ]
Range:
#!/bin/bash
# Tetris Game // The Art Of Shell Programming
box0=(4 30)
box1=(4 30 4 32)
box2=(4 30 5 32)
box3=(4 28 4 30 4 32)
box4=(4 28 4 30... (69 Replies)
Discussion started by: complex.invoke
69 Replies
2. Shell Programming and Scripting
Hi All,
Been trying to understand the code in tetris game (in the sticky threads) & i know i have a alot reading /practice to do. it's using advanced methods with arrays and arithmetic and would much appreciate if some one can guide me to good books that's not outdated that would help me take... (0 Replies)
Discussion started by: xcod3r
0 Replies
3. Red Hat
Does anyone know of a fedora version of tetris? I tried to search the repository with no luck. (4 Replies)
Discussion started by: cokedude
4 Replies
4. What is on Your Mind?
Simple rules...
1. Guess who it is, the first person to get it posts the next picture, post your guess as a reply to this thread.
2. Wait for the person who posted the picture to confirm that you are correct before posting a new picture.
3. If the person who posted the picture does not answer... (268 Replies)
Discussion started by: reborg
268 Replies
5. UNIX for Dummies Questions & Answers
I am interested in learning how to write code for games. I am a C.S. student at UNO but I am in freshman classes and they are so slow. Can anyone recommend any languages to start learning first or any other ways to get started? I have Unix with Solaris in the labs at school and I also have... (4 Replies)
Discussion started by: bjm2020
4 Replies
LEARN ABOUT DEBIAN
netris
netris(6) Netris netris(6)
NAME
netris - networked version of tetris
SYNOPSIS
netris [-wFDSCHR] [-c host] [-p port] [-k keys] [-i sec] [-r robot] [-s seed]
DESCRIPTION
The object of the game Tetris is to fit the shapes together forming complete rows, which then vanish. When the shapes fill up to the top,
the game ends. This version of Tetris can be played against other people over a network.
OPTIONS
-w Wait for connection from another host running netris.
-c host
Initiate connection to waiting netris running on host.
-p port
Set the port number to use for connecting to netris, the default port is 9284.
-k keys
Remap keys, the argument is a prefix of the string containing the keys in order: left, rotate, right, drop, down-faster, toggle-spy-
ing, pause, faster, redraw and new game. Use the "^" character to prefixes controls. The default is to use "jkl mspf^ln".
-i sec
Set the step-down interval, in seconds.
-r robot
Execute robot (a command) as a robot controlling the game instead of the keyboard.
-F Use fair robot interface.
-s seed
Start with given random seed.
-D Drops go into drop mode, this means that sliding off a cliff after a drop causes another drop automatically.
-S Disable inverse/bold/color for slow terminals.
-C Disable color.
-H Show distribution and warranty information.
-R Show the rules of the game.
RULES
Two player mode
It's just like normal Tetris except that when you clear more than one row with a single piece, the other player's board is moved up and
junk rows are added to the bottom. If you clear 2, 3 or 4 rows, 1, 2 or 4 junk rows are added to your opponent's board, respectively. The
junk rows have exactly one empty column. For each group of junk rows given, the empty columns will line up. This is intentional.
The longest surviving player wins the game.
One player mode
This mode is currently very boring, because there's no scoring and it never gets any faster. This will be rectified at some point. I'm
not very motivated to do it right now because I'm sick of one player Tetris. For now, use the "f" key (by default) to make the game go
faster. Speed-ups cannot be reversed for the remainder of the game.
AUTHORS
Netris was written by Mark H. Weaver <mhw@netris.org>.
This manual page was written by Edward Betts <edward@debian.org>, for the Debian GNU/Linux system (but may be used by others).
0.5 3 Aug 2001 netris(6)