Skip to content
MVVM based Tetris application sample
C# HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshot
src
.gitignore
LICENSE
README.md

README.md

MvvmTetris

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.

Screen shots

WPF Blazor
WPF-ScreenShot Blazor-ScreenShot

Features

  • 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)

How to play

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

Explanation document

License

This sample is provided under MIT License.

Author

Takaaki Suzuki (a.k.a @xin9le) is software developer in Japan who awarded Microsoft MVP for Developer Technologies (C#) since July 2012.

You can’t perform that action at this time.