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.
WPF-MVVM, C#
level = (cancelled lines / 10) + 1
cancelled lines | Score |
---|---|
1 | 20 |
2 | 50 |
3 | 120 |
4 | 150 |
Key | |
---|---|
↓ | Move Down |
← | Move left |
→ | Move right |
A | Rotation left |
D | Rotation right |
W | Hard Drop |
MIT lisence
Sound track from: https://archive.org/details/TetrisThemeMusic
Font from: https://www.dafont.com/dogica.font
Windows
Linux: needs wine and dotnet pre installed
Emily Weilan Tao