A Khatastroffik open source Tetris clone.
This Angular web application is a PoC combining the following:
- SoC (Separation of Concern) → decoupling UI and game engine implementation
- RMD (Responsive and Mobile design) → playable with keyboard or buttons, sized for any device (not relying on media queries, though)
- ReactiveX (Reactive Extensions) → asynchronous programming with RxJs observables
- CSS grid (grid layout) → pure HTML5 & CSS3 design (requires use of a modern browser)
- PWA (Progressive Web App) → 1 source for "browser" or "local install & offline" usage
The well-known Tetris game - hence having well-defined requirements - is implemented with respect to:
- SRS
- wall bounce back
- progressive difficulty (up to 20 levels) and scoring (e.g. multiple rows)
- pausable
- ...
TODO: implement PWA (electron?) TODO: improve README! TODO: fix rotation bugs (on top of board, on the board sides) TODO: refactor app component: create sub components for board, next tetromino etc. TODO: implement help screen