# Questions tagged [tetris]

The tag has no usage guidance.

10 questions
Filter by
Sorted by
Tagged with
1 vote
137 views

### How does clearing full rows work in tetris?

I'm working on my tetris game, and I'm a bit confused on the aftermath of clearing a full row. In some implementations, clearing a row, shifts all the rows above it down one row. That's how I ...
2k views

### How is rotation defined in a tetris game?

I'm working on implementing the backend logic behind the classical tetris game, and I'm a bit confused on how a rotation is performed. I understand that you can apply a rotation matrix, but I still ...
116 views

### How to move blocks down to fill the gap after clearing a row in Tetris?

I'm working on a Tetris clone. When I clear a line, my code does this: I want to move the squares down + 1. My code is: ...
1 vote
225 views

### Is it plausible for Tetris to be running at around 250 fps on a laptop?

I coded a simple Tetris game to for some programming practice. It has all the features you would expect from Tetris, like rotating shapes and clearing rows. I implemented a frame rate measure tool out ...
• 157
127 views

### I am creating a Tetris clone on Khanacademy, will I get into trouble? [duplicate]

For those don't know, Khanacademy is an education site that also has lessons on simple computer programming and allows you to publish your own games that are made on the website.
658 views

### How can I create a random deck of 7 cards every time they are all used?

I'm trying to create a Tetris like game in C# (Unity) and I've run into quite a problem on how I can generate 7 cards (tetrominoes) of which none are the same and when I run out of cards, I regenerate ...
256 views

### Tetris Glitchy Movement Fix

Usual tetris game has 2D arrays for arena/piece and collision check with matrix comparison. To add smooth movement and auto alignment of pieces: x and y are pixels on the screen xMatrix [the cell ...
9k views

### Understanding Tetris speed curve

I'm attempting to make a Tetris clone and want to be as accurate to the games as I can. I found a chart that explains the speed curve that's supposedly used in games that follow the official Tetris ...
• 5
1 vote