Tetris is NP-complete with two rows

Asif, Coulombe, Demaine, Demaine, Hesterberg, Lynch and Singhal proved that offline Tetris, with the initial board and the whole piece sequence given in advance, is NP-complete with four rows and solvable in linear time with one row, and conjectured that it is NP-complete with two rows. We prove the conjecture for four rotation models: ROT-INST, the instantaneous rotation model of Breukelaar, Demaine, Hohenberger, Hoogeboom, Kosters and Liben-Nowell; Guideline SRS, the Super Rotation System of current Tetris games with its standard kick tables; ROT-BOX, the Tetris rotation model of Breukelaar et al.; and ROT-MIN, a member of the class of reasonable rotation models of Asif et al. that turns pieces only far from filled cells. Under each of them, surviving the sequence, clearing the board and two variants of clearing are NP-complete in the strong sense on 2-row boards with no full and no empty row, so, unless P = NP, the row threshold is r∗ = 2 for survival and for clearing. All three reductions are from 3-Partition, with one bucket per number, one window of the sequence per bin, and a lock that keeps rows from clearing until the last piece. On two rows the order of a bucket's pieces must come from how pieces move. Under ROT-INST an I reaches a roofed tunnel only by dropping through a 2 × 4 mouth, and the first I covers the cell that the opening S needs for its last turn. Under Guideline SRS an I kicks into the tunnel only after a Z in the mouth has made an earlier kick test fail, so the opener enables the fillers. When pieces only shift and drop, flat Z pieces in a chain fill from left to right, because a Z cannot enter its slot once both its neighbours are in place. We show that on 2-row boards ROT-BOX and ROT-MIN have exactly the lock placements inside the board that shifts and drops alone reach. Whether two rows are NP-hard uniformly for every member of the reasonable class remains open; we describe an obstruction to uniform window constructions without row clears, and our earlier three-row result gives r∗ ∈ {2, 3} for every member.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24767731
Primary Topic
Complexity and Algorithms in Graphs
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Tetris is NP-complete with two rows

Yan Ru Pei
Zenodo (CERN European Organization for Nuclear Research)
Complexity and Algorithms in Graphs
preprint

Tetris is NP-complete with two rows

Yan Ru Pei
preprint en

Abstract

Asif, Coulombe, Demaine, Demaine, Hesterberg, Lynch and Singhal proved that offline Tetris, with the initial board and the whole piece sequence given in advance, is NP-complete with four rows and solvable in linear time with one row, and conjectured that it is NP-complete with two rows. We prove the conjecture for four rotation models: ROT-INST, the instantaneous rotation model of Breukelaar, Demaine, Hohenberger, Hoogeboom, Kosters and Liben-Nowell; Guideline SRS, the Super Rotation System of current Tetris games with its standard kick tables; ROT-BOX, the Tetris rotation model of Breukelaar et al.; and ROT-MIN, a member of the class of reasonable rotation models of Asif et al. that turns pieces only far from filled cells. Under each of them, surviving the sequence, clearing the board and two variants of clearing are NP-complete in the strong sense on 2-row boards with no full and no empty row, so, unless P = NP, the row threshold is r∗ = 2 for survival and for clearing. All three reductions are from 3-Partition, with one bucket per number, one window of the sequence per bin, and a lock that keeps rows from clearing until the last piece. On two rows the order of a bucket's pieces must come from how pieces move. Under ROT-INST an I reaches a roofed tunnel only by dropping through a 2 × 4 mouth, and the first I covers the cell that the opening S needs for its last turn. Under Guideline SRS an I kicks into the tunnel only after a Z in the mouth has made an earlier kick test fail, so the opener enables the fillers. When pieces only shift and drop, flat Z pieces in a chain fill from left to right, because a Z cannot enter its slot once both its neighbours are in place. We show that on 2-row boards ROT-BOX and ROT-MIN have exactly the lock placements inside the board that shifts and drops alone reach. Whether two rows are NP-hard uniformly for every member of the reasonable class remains open; we describe an obstruction to uniform window constructions without row clears, and our earlier three-row result gives r∗ ∈ {2, 3} for every member.

Zenodo (CERN European Organization for Nuclear Research)
Complexity and Algorithms in Graphs
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon