special blocks - xale/iTetrinet GitHub Wiki

The original TetriNET protocol defines the following special blocks and their effects:

# char special name sample image effect
1 a addline adds one garbage line to the bottom of the target player’s field
2 c clearline removes the line at the bottom of the target player’s field (the rest of the field is shifted down)
3 n nukefield completely clears the target player’s field
4 r randomclear selects 10 cells at random on the target player’s field, and clears them
5 s switchfield swaps your field with the target player’s
6 b clearspecials turns all specials on the target player’s field into regular blocks
7 g gravity pulls occupied cells on the target player’s field down, filling gaps
8 q quakefield causes all rows of the target player’s field to randomly shift 0 to 3 columns left or right
9 o blockbomb destroys all blockbomb blocks on the target player’s field, and randomly scatters around the field the 8 blocks (in a 3×3 area) surrounding each one

The number in the first column represents the code used by the new game rules string in specifying the frequencies of the specials, while the letter in the second column represents the char value of the special used in field updates, and for the internal representation of the cell in most clients.

Lines cleared or removed as the result of a player using a special are not counted toward the player’s count of lines cleared, and specials in the cleared lines are not added to the player’s queue.

⚠️ **GitHub.com Fallback** ⚠️