Tetris The Grand Master

Tetris The Grand Master is the first arcade game in Arika's TGM series.

Gameplay
Unlike typical tetris games where the goal is indefinite survival and a high score, TGM is a challenge where you have a finite opportunity to attain a high Grade. With the exception of the final grade of Grand Master, grade is derived from your score. This indirectly makes the grading system strongly favour survival, with a special emphasis on clearing non-singles late in the game during 20g.

With only a small number of grades, there are often ties. The highscore table ranks a tied grade higher if it was attained faster. In practice, solid play will award players the highest rank of Grand Master. As such, for adequately skilled players the game becomes a time attack to level 999.

Level
Level has a unique implementation in TGM. The level counter will increase by 1 for every piece that enters the well. It will also increase by 1 for each line cleared. The game ends once level 999 is reached.

When you are about to increment the hundreds digit (eg. at level 399), only line clears will count towards your level. Level 998 is treated similarly, with a final line clear required to reach 999 and finish.

Speed Timings
Gravity does not increase uniformly, unlike many other tetris games. It rises and falls, depending on the level as shown in the table below. The player can force constant 20G, by entering a code before starting the game, though this will exclude their play from the highscore list.

The unit for gravity is G (rows per frame), as a fraction with a constant denominator of 256. This means G = Internal Gravity/256. For example, at levels 90 through 99, the gravity is 64/256G, or 1/4G.

Unlike TGM2, the line clear delay, lock delay, ARE and DAS do not change throughout the game.
 * The player's DAS charge is unmodified during line clear delay, the first 4 frames of ARE, the last frame of ARE, and the frame on which a piece spawns.

Scoring
TGM shares the same scoring gimmicks of many other Tetris games, though they are not quite implemented the same way:
 * You receive more points for clearing more lines at once.
 * Lines are worth more with each passing level. (The nature of "level" in TGM, however, means the amount of points a line is worth is constantly changing, and especially in the 0-99 section, it is to the player's advantage to stack high before clearing lines.)
 * You receive points for forcing a piece down. (Though only when this results in cleared lines, unlike in some other games.)

There are a few scoring gimmicks unique to TGM:
 * You receive a combo bonus for clearing lines with consecutive pieces.
 * You receive a bravo bonus for clearing the entire screen.

Once one can reach the S9 rank, score becomes irrelevant and the focus changes to a time attack rather than a score attack. Nevertheless, here is the actual scoring formula:


 * Score = ((Level + Lines)/4 + Soft) x Lines x ((2 x Lines) - 1) x Combo x Bravo

Where:
 * Level is the current level you are on (before the lines are cleared).
 * Lines is the number of lines you just cleared.
 * (Level + Lines)/4 is rounded up.
 * Soft is the cumulative number of frames during which Down was held during the piece's active time. Note that this means manually locking pieces already on the ground will increase the Soft value by 1.
 * Locking a piece without clearing lines sets Combo to 1. Otherwise, the game updates Combo as follows before calculating Score:
 * Combo = (previous Combo value) + (2 x Lines) - 2
 * Example: A double-triple-single combo will have combo values 3, 7, and 7 respectively.
 * Bravo is equal to 4 if this piece has cleared the screen, and otherwise is 1.

Grading
In TGM1 grade is entirely determined by score. As you pass certain milestones, TGM will assign you the next grade:

Codes
All codes should be entered at the title screen. Codes may be combined (i.e. Big 20G mode, Reverse Monochrome mode, etc.) Scores achieved using codes will not be stored on the highscore table.

Key: L = Left, D = Down, U = Up, R = Right
 * TLS Mode (Shows the "Temporary Landing System" aka "ghost piece" for the entirety of the game, not just 0-100): ABCCBAACB
 * 20G Mode (Forces constant 20G from the beginning of the game): DDDDDDDDCBA
 * Big Mode (Tetrominoes are twice normal size, simulating play in a 5x10 playfield): LLLLDCBA
 * Uki Mode (A joke mode; instead of line clear sound effect when clearing multiple lines, a child's voice will say "Uki" repeatedly, which is the japanese word for the sound a monkey makes. This is a callback to Sega Tetris, with it's monkey.  The child will say "Waaahhh!" instead if you score a Tetris.): ABABABABABABABABB
 * Rev Mode (Play in reverse! Pieces will spawn at the bottom of the playfied and "fall" upwards): DUUDCBA
 * Mono Mode (All tetrominoes are monochrome): RRRUCBA

Other Codes

 * No item VS (Play VS mode without item blocks): Hold both player Start buttons together before the match begins.