Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions power-apps/tetris/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# TETRIS

🎮 A custom-made Tetris experience built entirely in PowerApps, combining retro charm with modern app design. The game features a fully dynamic grid, smooth block animations, precise collision detection, and responsive controls that recreate the classic arcade feeling inside the Microsoft ecosystem.
🧩 Each tetromino is generated, rotated, and dropped using optimized logic, offering fluid gameplay and a polished user experience.
⚡ Designed with modular formulas and clean collections, the engine is easy to maintain, extend, and customize — perfect for showcasing technical creativity and Power Platform mastery.
🌈 Whether for fun, learning, or demonstrating advanced app-building skills, this PowerApps Tetris delivers a playful yet technically impressive twist on a timeless classic.


![tetris](./assets/tetris.gif)


## Authors

Snippet|Author
--------|---------
Steve Bourdin | [GitHub](https://github.com/SteveBourdin) ([LinkedIn](https://www.linkedin.com/in/steve-bourdin-ab998762/) )

## Minimal path to awesome

1. Open your canvas app in **Power Apps**
2. Copy the contents of the **[YAML-file](./source/tetris.yaml)**
3. Paste the code on a blank screen


## Code
**[YAML-file](./source/tetris.yaml)**


## Disclaimer

**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**

<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/tetris" aria-hidden="true" />
52 changes: 52 additions & 0 deletions power-apps/tetris/assets/sample.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json",
"name": "pnp-powerplatform-snippets-tetris",
"version": "1.0.0.0",
"source": "pnp",
"creationDateTime": "2025-04-29T00:00:00.000Z",
"updateDateTime": "2025-04-29T00:00:00.000Z",
"title": "TETRIS",
"shortDescription": "A custom retro Tetris built in PowerApps.",
"longDescription": [
"A custom retro Tetris built in PowerApps."
],
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/power-apps/tetris/",
"products": [
"Power Platform",
"Power Apps",
"powerplatform-snippets",
"power-apps-snippets"
],
"tags": [
],
"categories": [
],
"metadata": [
{
"key": "Product",
"value": "Power Apps"
},
{
"key": "Type",
"value": "Snippet"
}
],
"thumbnails": [
{
"type": "image",
"order": 100,
"url": "https://github.com/SteveBourdin/powerplatform-snippets/blob/tetris/power-apps/tetris/assets/tetris.gif",
"alt": "Preview PNG"
}
],
"authors": [
{
"gitHubAccount": "SteveBourdin",
"name": "Steve Bourdin",
"pictureUrl": "https://github.com/SteveBourdin.png"
}
]
}

]
Binary file added power-apps/tetris/assets/tetris.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added power-apps/tetris/assets/tetris.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading