An open API service indexing awesome lists of open source software.

https://github.com/fiddlydigital/blazortetris

Tetris, as a Blazor WASM application. An example application to test writing/deploying Blazor WASM apps, and how HTML Canvas interaction works between WASM Space and HTML elements.
https://github.com/fiddlydigital/blazortetris

blazor blazor-application blazor-webassembly csharp dotnet dotnet-core wasm

Last synced: about 21 hours ago
JSON representation

Tetris, as a Blazor WASM application. An example application to test writing/deploying Blazor WASM apps, and how HTML Canvas interaction works between WASM Space and HTML elements.

Awesome Lists containing this project

README

        

# BlazorTetris!

It's Tetris, as a Blazor WASM application.

An example application to test writing/deploying Blazor WASM apps, and how HTML Canvas interaction works between WASM Space and HTML elements.

## Controls
- a/A - Move left
- s/S - Drop
- d/D - Move Right
- q/Q - rotate counter-clockwise
- e/E - rotate clockwise

## Features

- .Net 8
- 2-Way JSInterop
- WASM to JS
- Starting the rendering loop
- JS to WASM
- Call to render
- Keyboard input
- HTML Canvas Interaction