Monday, March 29, 2010

Rotatris


There are things that have been done many times. So why do it again? Why not?

Rotatris is simple variation of Tetris. In this micro game there is no posibillity to move block left or right as usual. The player can only rotate both the board and blocks.



In this solution, board becomes square. Player has the opportunity to lay down tetrominoe blocks on all four walls of the board. So what should be the algorithm for clearing full rows?

Which blocks should be full to start cleaning? There were three options:
1. Blocks at the same level on all walls, forming a square.
2. All blocks on a single wall.
3. Blocks on a single wall, limited by diagonals of board.

Rotatris by Bionic NoseRotatris by Bionic NoseRotatris by Bionic Nose

First one is too difficult to play. Second one, too. In both cases there is too high propability of indelible empty spaces occurrence. The third is that which has been applied.

Which blocks should be thrown down by gravity? There are two options:
1. Throw down blocks above the cleared line and under the board's diagonals.
2. Throw down blocks above the cleared line and under the board's middle.

Rotatris by Bionic NoseRotatris by Bionic Nose

First one leaves empty spaces on the board's diagonal lines. Second one leaves them on the board's middle lines. The second was chosen because of the smaller hardness.

Although selecting the simplest (for the player) version of the algorithms, the game become not easy. Try yourself: Rotatris download.