/Tetris

Tetris in C#

Primary LanguageC#MIT LicenseMIT

Tetris in C#

Classic Tetris game using WPF MVVM. Users can move and rotate tetraminos in a 10*20 grid. Tetraminos falls automatically. There is a panel that displays the next tetramino. There is tetramino shadow that indicates the positon of a falling tetramino.

mainmenu game gameover

Tech Stack

WPF-MVVM, C#

Scoring

level = (cancelled lines / 10) + 1

cancelled lines Score
1 20
2 50
3 120
4 150

KeyBoard Setting

Key
Move Down
Move left
Move right
A Rotation left
D Rotation right
W Hard Drop

Lisence

MIT lisence

Assets

Sound track from: https://archive.org/details/TetrisThemeMusic
Font from: https://www.dafont.com/dogica.font

Installation

Windows
Linux: needs wine and dotnet pre installed

Author

Emily Weilan Tao