uSkizzik's Tetris

Tetris clone played entirely through the terminal. It follows almost all guidelines for creating and scoring a Tetris game and includes menus, music and so on.

Codename

Project TetrisGame

Build

C#

CI/CD

Git

Logo

uSkizzik's Tetris

The game everyone knows and loves, right in your console!


This is a quick and dirty side-project. It's not meant to be performant, it's not meant to be easily maintainable. I didn't spend a lot of time cleaning up code because it won't be developed further. I also tried using a lot of different concepts to exercise myself and learn how exactly they work in C# (because I'm primarily a webdev).

I used the Tetris Guideline as a reference while making this clone. I didn't do everything the way Tetris recommends, however I did my best to recreate the rules set by the guideline.

Controls

KeyAction
Up ArrowRotate Clockwise
Down ArrowMove Down
Left ArrowMove Left
Right ArrowMove Right
Space BarHard Drop
CHold Tetromino
ZRotate Counter-Clockwise
MToggle Audio
EscReturn to main menu
F5Redraw Frame

Features

  • ✔️ Moving, Rotating
  • ✔️ Soft Drops, Hard Drops
  • ✔️ Wall Kicks
  • ✔️ Starting Positions at 21st and 22nd rows
  • ✔️ Lock Down (Extended Placement Lock Down)
  • ✔️ Piece Preview / Next Queue
  • ✔️ Holding
  • ✔️ Random Bag / 7 Bag
  • ✔️ Ghost Piece
  • ✔️ Scoring via Line Clears
  • ✔️ Scoring via Perfect Clears
  • ✔️ Scoring Combos
  • ✔️ Scoring Back to Back
  • ❌ Scoring T-Spins
  • ✔️ Levels
  • ✔️ High Score (Persists between restarts)
  • ✔️ Sound Effects
  • ✔️ Music (using Console.Beep())