Tetris
m |
(images and links to source) |
||
Line 16: | Line 16: | ||
tint (Tint Is Not Tetris) was modified to record a simple log of vanquished lines. A small shell script then turns that log into a series of images - one for each game. We now have a permanent record of vanquished lines :) |
tint (Tint Is Not Tetris) was modified to record a simple log of vanquished lines. A small shell script then turns that log into a series of images - one for each game. We now have a permanent record of vanquished lines :) |
||
+ | |||
+ | A copy of my source, and some sample images are [http://www.nut.house.cx/~nemo/extras/tint/tintlogger.tgz here] |
||
The resulting image grows "up" much like you would expect given the way tetris is played... multiple rows are moved directly, and retain the visual order from the game. :) |
The resulting image grows "up" much like you would expect given the way tetris is played... multiple rows are moved directly, and retain the visual order from the game. :) |
||
+ | |||
+ | http://www.nut.house.cx/~nemo/extras/tint/tintlogger/tintlogs/trialruun/1240.png |
||
+ | To explain the image - the left column shows the game logs - itself internally divided into 10 columns visually, as from the game. The second column alternates greys - this shows which lines were obtained single, as pairs, triples or quads. The third column shows the level the game was on for that column. |
||
+ | |||
+ | [http://www.nut.house.cx/~nemo/extras/tint/tintlogger/tintlogs/trialruun/23073.png This long example shows a complete game from level 1 (red at bottom) to level 9] |
Revision as of 11:57, 3 November 2003
Tetris
Everybody knows tetris. The idea is to get rid of the falling blocks by stacking them such that you get a neat horizontal line with no gaps. The line is vanquished, and the lines above fall, thus providing room to keep playing...
- My question is
- Where do the vanquished lines go?
Answer?
NOT to tetris-block-heaven as you might suspect.
I think they should be saved as an image stream ... recording if you will, a log of the game...
I wonder what patterns will emerge?
Implementation
tint (Tint Is Not Tetris) was modified to record a simple log of vanquished lines. A small shell script then turns that log into a series of images - one for each game. We now have a permanent record of vanquished lines :)
A copy of my source, and some sample images are here
The resulting image grows "up" much like you would expect given the way tetris is played... multiple rows are moved directly, and retain the visual order from the game. :)
http://www.nut.house.cx/~nemo/extras/tint/tintlogger/tintlogs/trialruun/1240.png To explain the image - the left column shows the game logs - itself internally divided into 10 columns visually, as from the game. The second column alternates greys - this shows which lines were obtained single, as pairs, triples or quads. The third column shows the level the game was on for that column.
This long example shows a complete game from level 1 (red at bottom) to level 9