Tetrelementis

A Tetris clone about learning the chemical elements.

Play it here!

How to Play

Use the arrow keys and spacebar or the buttons in the upper right to control the game.

Spacebar starts a new game, and pauses/resumes a game in progress.
Arrow keys move the falling Tetris block (tetromino)
Left and Right translate the tetromino left and right
Z rotates the tetromino counter-clockwise and X rotates it clockwise.
Down speeds up the tetromino (for those early levels when you just can't wait)

When the game starts, a tetromino of a random shape and chemical element will appear at the top of the game board and begin to fall. Once it cannot fall any further, either by hitting the bottom or another tetromino, a new random tetromino will appear at the top of the board.

Each new tetromino will be of a chemical element that has not yet appeared until the entire periodic table has filled up. Then, the collection of possible elements is reset, so that further tetrominos don't have repeats, and the table left full.

Your objective is to keep the board clear enough that more tetrominos can drop; if there is no more space for a tetromino to appear, the game is over. In order to keep the game going, you must fill every quadrant in a horizontal line accross the board. Once a line is filled, all its quadrants are emptied and every block above it falls one row down.

Every line you clear adds to your score; the more lines cleared at once, the more points earned. You can clear as many as four lines at once, if you're clever about it. Be wary! As your points increase, so does the Level; each level makes the tetromino drop faster, until it drops as fast as if you held the down arrow all the time!

There are three game modes: Marathon and Fixed Level

Built using the Canvas Rendering Context Web API.
*Not mobile friendly.
See the GitHub page for more details.