Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [tetris]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

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 ...
user1750101's user avatar
6 votes
1 answer

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 ...
user1750101's user avatar
0 votes
1 answer

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: ...
tony_ramos.98's user avatar
1 vote
2 answers

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 ...
JensB's user avatar
  • 157
0 votes
1 answer

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.
Michael Liu's user avatar
3 votes
2 answers

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 ...
Victor Raduca's user avatar
0 votes
2 answers

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 ...
Hello Stack's user avatar
0 votes
3 answers

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 ...
Dan's user avatar
  • 5
1 vote
2 answers

Tetris - Smooth piece drop (c++)

So I have coded simple tetris games on the past but I have never done one where the pieces drop smoothly, like for instance Super Tetris 3 on the SNES.I am planning to learn SDL and for such I want to ...
Matias Barrios's user avatar
3 votes
1 answer

Tetris Copyright Issues? [duplicate]

I am making a Tetris clone with a new idea but I won't use the Tetris or Tetriminos name in the game I will refer to them as Tetrominos. Will there be copyright issues if I release this game? Does the ...
Moaz Ashraf's user avatar