Non-FictionInformativeEducational
Tetris eBook
A Coursebook on Tetris
by Newsom Aliza
A Coursebook on Tetris
Formats
Free sample
Chapter 1: The Fourth Square...--In the summer of 1984, the Soviet Union was a country of long lines, gray concrete, and suppressed dreams. Inside the Moscow Academy of Sciences, a thirty-year-old software engineer named Alexey Pajitnov sat before an outdated Electronika 60 computer, ostensibly working on speech recognition. But his mind was elsewhere—trapped in the elegant prison of geometric puzzles. He was bored. He was frustrated.
And he was about to accidentally create the most addictive game the world would ever know.The Electronika 60 was a sad machine by Western standards. It had no graphical display, only a text-based monitor capable of showing eighty columns by twenty-five rows of characters. Its processing power was laughably weak. The Soviet government did not prioritize recreational computing; every line of code had to justify itself through scientific or military application. Pajitnov's official project—teaching computers to understand human speech—was going nowhere.
The bureaucracy was suffocating, the hardware was inadequate, and the climate was one of perpetual gray stagnation.So Pajitnov did what brilliant minds have always done under oppressive systems: he worked on his own projects in secret. His obsession was puzzles. Specifically, he loved Pentominoes—a classic logic puzzle involving twelve distinct shapes, each made of five connected squares. The challenge was to arrange these twelve pieces into a rectangular box. There were thousands of possible arrangements, and finding even one required hours of patient experimentation.
Pajitnov loved the mental geometry of it—the way shapes could be rotated, flipped, and slotted together like a mathematical dance.But he hated the physical labor. Every time he wanted to try a new arrangement, he had to manually pick up the wooden pieces and reposition them. His fingers were clumsy; his eyes tired quickly. He began to fantasize about a computer program that could do the rearranging for him—a digital puzzle that would handle the tedious placement while he focused on the strategy. The idea was simple: falling shapes that the player would rotate and position, with the goal of filling complete rows.The only problem was the hardware.
The Electronika 60 could barely render text. Displaying twelve Pentomino pieces, each occupying five squares, was too computationally expensive. The machine would lag, the pieces would stutter, and the game would be unplayable. Pajitnov needed a simpler set of shapes. He tried three-square pieces, but there were only two (the straight line and the corner), and the puzzle was trivially easy.
He tried six-square pieces, but there were thirty-five of them, and the game became impossibly complex.Four squares was the sweet spot. The number of distinct four-square shapes—called tetrominoes, from the Greek téssares for four and the Latin dominus for domino—was exactly seven. Seven was manageable. Seven was elegant. Seven fit within the Electronika's memory limits.The Seven Children of Geometry The seven tetrominoes each have a personality, a history, and a name that has become universal across every version of Tetris ever created.
Pajitnov did not invent these shapes—mathematicians had known them for centuries—but he was the first to give them a purpose beyond abstract geometry.The I-tetromino is a straight line of four blocks. It is long, lean, and dangerously powerful. In many versions of Tetris, the I-piece is the only tetromino that can clear four lines at once—a "Tetris"—because it spans the entire width of the playfield. The I-piece is also the most versatile for digging out of disaster; dropped vertically, it can drill through a stack of garbage like a spear. But the I-piece is also the most fragile; if you misplace it, you will wait a long time for another.
In true random number generation, you might see six Z-pieces before a single I-piece appears.The O-tetromino is a two-by-two square. It is the simplest shape, the easiest to place, and the most forgiving. The O-piece cannot be rotated; it looks the same from every angle. This makes it a filler piece, a stabilizer, the glue that holds messy stacks together. But the O-piece is also the most dangerous piece to misplace because it creates a two-block-wide hump that is difficult to flatten without specific pieces.The T-tetromino is the protagonist of competitive Tetris.
Shaped like a T, it is the only piece that can perform a "T-spin"—a rotation into a tight space that, in modern versions of the game, sends more garbage lines than a Tetris itself. The T-piece is the most versatile of the seven. It can act as a bridge, filling holes that other pieces cannot reach. It can create overhangs. It is the piece that separates casual players from grandmasters.The L-tetromino and J-tetromino are mirror images of each other.
The L looks like a corner with a long leg to the right; the J is its reflection, with the leg to the left. Together, they are called "the elbows." They are the workhorses of clean stacking—perfect for creating flat tops and filling isolated depressions. Many beginners confuse the L and J, leading to placement errors that cascade into disasters twenty moves later.The S-tetromino and Z-tetromino are the snakes. They are also mirror images. The S slopes like a zigzag to the right; the Z slopes to the left.
These are the most hated pieces among new players because they do not fit neatly into flat stacks. But advanced players learn to love the snakes because they are essential for "digging"—clearing garbage lines quickly by biting into holes. An S or Z placed correctly can clear two lines at once in a way that no other piece can.Pajitnov named his game by combining tetra (four) with tennis—his favorite sport, which he felt captured the back-and-forth rhythm of the game. He called it Tetris.The First Line Disappears The programming took two weeks. Pajitnov wrote the code on paper first, as Soviet programmers often did, because access to computer time was rationed.
He typed it in by hand, line by line, on the Electronika's clunky keyboard. The playfield was ten columns wide and twenty rows tall—dimensions he chose because they fit perfectly within the monitor's eighty-by-twenty-five text grid, leaving room at the bottom for score display.Gravity was simple: each piece fell one cell per second, accelerating slightly with each cleared line. The pieces spawned at the top center of the screen—columns four through seven of the twenty-row matrix—and the player could rotate them in ninety-degree increments using the keyboard's arrow keys. There was no "hold" piece, no ghost piece showing where the block would land, no "hard drop" that instantly placed the piece. The original Tetris was slow, deliberate, and unforgiving.The moment of creation came on June 6, 1984.
Pajitnov had been debugging for hours, fixing off-by-one errors and rotation glitches. The game was still ugly—text characters representing blocks, no colors, no sound—but it worked. He started a round. The pieces fell. He rotated them, positioned them, and watched them stack.
The stack grew higher and higher, and he knew he was about to lose.Then he completed a row.The entire horizontal line of blocks vanished. The pieces above it shimmied downward, settling into the empty space. The stack…
This is the end of the free sample. Get the eBook to keep going. Buy now
About this book
Details
- Author
- Newsom Aliza
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, Informative, Educational
- Released
- 2026-05-08
- Pages (approx.)
- 124
- Available as
- eBook, Audiobook
Read better in the ZLOADR app
Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.
More by Newsom Aliza
EQ Culture Building GuideNewsom Aliza$11.99
Thunberg UN Speech How Dare You CourseNewsom Aliza$11.99
The Atacama Desert GuideNewsom Aliza$11.99
Brain Aging Prevention Nutrition GuideNewsom Aliza$11.99
The Caregiver Meal Planning GuideNewsom Aliza$11.99
Tangaroa’s Wrath: The Drowning of Maui’s CanoeNewsom Aliza$11.99
The Great Drain of Mohenjo-Daro: The Ancient World's First Plumbing RevolutionNewsom Aliza$11.99
Project Success PortfolioNewsom Aliza$12.99
Kigali Innovation City GuideNewsom Aliza$12.99
How to Become a Cigarette-making-machine-hopper FeederNewsom Aliza$11.99
Understanding Floating Limb SyndromeNewsom Aliza$17.99You may also like
Hong Kong Handover 1997Dunn Johnnie$11.99
Zumba For Postnatal Recovery CourseNeal Christian$11.99
Zumba for BeginnersLadner Nikia$11.99
YouTube Comment Mining GuideHumes Pandora$12.99
Worry Box MeditationCarlin Rudy$11.99
Workplace Stress MeditationNguyen Lynn$11.99
Workplace Stress and Sleep RepairHawley Ivory$11.99
Workplace Perfectionism CureDelaney Jeffry$11.99
Workplace Injustice Anger GuideWallen Isabelle$11.99
Work Addiction and Burnout LinkGreenwood Ester$11.99
Women in Yoga and WellnessBeattie Galina$11.99
Women in Stand Up ComedyChun Evangeline$11.99