All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Shapes
One Piece Tetris (Posted on 2007-12-19) Difficulty: 4 of 5
A typical game of Tetris has 10 columns and 7 pieces. Consider a variation with fewer columns and only one piece, which repeats indefinitely.

For some pieces and column widths it is trivial to see that an infinite game is possible. For example the I tetromino with any column width or any other of the tetrominoes with an even column width.

For other pieces, an infinite game is possible, but not trivially so.
Consider the T tetromino in three columns, an infinite game is possible by following a pattern:
The first piece is horizontal with the stem of the T pointing down.
The second piece is vertical, with the stem of the T pointing to the right and the T is pushed to the left edge.
The third piece is vertical, with the stem of the T pointing to the left and the T is pushed to the right edge.

For each piece and number of columns listed below, find a strategy for each which allows for an infinite game:
1.                               2.
### in three columns             ### in four columns
#                                 #
                                  #
								  
3.                               4.
### in four columns              ##### in five columns
#                                  #
#

-----------------------------------------------------

Notes:
1 - Using the reflection of an asymmetrical piece is not allowed.
2 - Use classic gravity: when a row is filled, it is removed and all rows above move down, but no fragments of one partially filled row fall into another partially filled row.

See The Solution Submitted by Brian Smith    
Rating: 4.0000 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
case 4 | Comment 4 of 5 |

If the piece drops as it is shown in the problem, its horizontal parrt would be removed and only a single cell in the middle column would stay.

Start with dropping 5 'horizontal pieces' , labelled A through E and two verticals F and G

  FEG
  FDG
FFCGG
 FBG
 FAG

Remove the middle line and we have a 3 by 4 square in the central columns.

Again 5 horizontal in the centre and two verticals on the outside.

     F
     E
G  D  H
G  C  H
GGBHH
GAAAH
GAAAH
  AAA
  AAA

We have:

    A
    A
A  A  A
A  A  A  
  AAA
  AAA

One horizontal and two verticals.

  CBD 
  CAD
CCADD
ACACA
ACACA  
  AAA
  AAA

Which produces again the 3 by 4 square


 

Edited on December 20, 2007, 2:19 pm
  Posted by Hugo on 2007-12-20 14:18:37

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information