MVVM based Tetris application sample using ReactiveProperty. You can study following through this sample.
- How to develop a application for multi platforms
- Simple MVVM (Model - View - ViewModel) architecture
- How to use ReactiveProperty
- Programmable data binding
This sample targets following platforms.
| WPF | Blazor |
|---|---|
![]() |
![]() |
- Automatic fall down by timer
- Move / Rotation / Fall down
- Fix tetrimino immediately
- Display next tetrimino
- Display deleted rows information
- Speed-up gradually (when tetrimino is deleted)
- Super rotation
- Multi-Play (only support Server-side Blazor)
You can play on web version from here.
| Key | Action |
|---|---|
| ↑ | Rotation right |
| ↓ | Fall down |
| ← | Move left |
| → | Move right |
| X | Rotation right |
| Z | Rotation left |
| Space | Fix tetrimino immediately |
| Esc | Restart |
This sample is provided under MIT License.
Takaaki Suzuki (a.k.a @xin9le) is software developer in Japan who awarded Microsoft MVP for Developer Technologies (C#) since July 2012.

