This is a Tetris game built with OpenUI5s sap.ui.table.Table using a custom JSONModel and data binding. Besides some lines of CSS for the coloring, there is no workaround or custom rendering involved – the implementation follows UI5 best practices regarding MVC and databinding. It can also run in SAP Fiori Launchpad!
Try it out now: https://seesharpsoft.github.io/UI5_Tabtris/index.html
(use the arrow keys for left, right, fast down and rotate)
Have fun! ;)
Or run it locally:
git clone https://github.com/SeeSharpSoft/UI5_Tabtris.git
cd UI5_Tabtris
npm install
npm start
- http://localhost:8080 or http://localhost:8080/test/flpSandbox.html