Skip to content

Latest commit

 

History

History
97 lines (53 loc) · 1.84 KB

CHANGELOG.md

File metadata and controls

97 lines (53 loc) · 1.84 KB

Tetris

Vscode + Cmake + GCC

2 - Drawing on the Console

ANSI Control Code

ANSI

3 - MainLoop & Frame

ui: layout

dw: draw gm: game logic ut: utils

tc: terminal control

4 - UI

Alt text

Box Drawing Characters

5 - Game Control & Keyboard Input

6 - Tetrimino & SRS

TetrisWiki

6.1 - Offset Representation

SRS Allowing WallKick Table that follows it.

7 - Draw a frame

Shadow Blocks

8 - Performance Optimization

Draw background once Add frame buffer & sstream buffer

40 fps -> 6600 fps

9 - Drop & Lock & Clear

Rotation Bug fixed

10 - Bag-7 Randomizer & Preview

Randomizer History

11 - SRS & Wallkick

12 - Hold piece

Hold piece

13 - Scoring & Level up

Scoring

14 - Layout organization


15 - T-Spin

Update & Fix SRS T-spin

  1. Tetromino being locked is T.
  2. Last successful movement of the tetromino was a rotate, as opposed to sideways movement, downward movement, or falling due to gravity.
  3. Three of the 4 squares diagonally adjacent to the T's center are occupied.

16 - Cross platform

Support Linux & MaxOS

Replace deprecated functions in C++20

ramdom_shuffle -> shuffle
rand -> std::mt19937

17 - B2B & Combo

Fix T-spin check

T-spin Detailed Explanation

DT Cannon